Hi,
I want to attach a Mailmessage as an attachment to a Mailmessage. How can I achieve this the best way?
Thanks in advance.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
AndrePosted Mar 17, 2010, 9:05 AM
Amit ChoudharyPosted Mar 17, 2010, 8:54 AM
Here is the code to attach the file with your mail message:
you can also attach mailMessage by generating a text/HTML/XML of message that you want to attach and save it to say C:\Temp and then read it while creating an attachment.
Hope it helps you.
Please mark as answer if it helps.