This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Mail with an attachment

Sangeetha - Monday, November 9, 2009 4:55 AM:

Hi,

     I have created a new workflow. I have to send a notification mails with an attachment.. is it possible ?

 

Regards,

Sangeetha

 

 



tstickel - Thursday, November 12, 2009 10:12 AM:

Sangeetha;

I do not believe that there is a way to add an attachment to the standard Innovator E-Mails.

However, you could define an automated workflow activity (or a "On Activate" server trigger for an existing workflow activity) that invokes a Server Method.  This Server Method cold be written in C# or VB and could use the System.Net.Mail class to construct and send an e-mail with an attachment.   If you look at http://msdn.microsoft.com/en-us/library/system.net.mail.mailmessage.aspx there is an explanation of this class and sample code for sending an e-mail with attachments (including a VB example near the bottom of the page).