By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,627 Members | 2,339 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,627 IT Pros & Developers. It's quick & easy.

Attach An outlook message to an outlook message

P: n/a
How do I attach an outlook email message as an attachment within
another outlook email message.

Right now I am using the following code. But I was wondering if there
is a better way to do this without using a file that needs to be
deleted later.

private MailMessage addAttachment(MailMessage Mail, MailItem item)
string path "Messages\\message" + message_id+ ".MSG";
Mail.IsBodyHtml = true;
Microsoft.Office.Interop.Outlook.OlSaveAsType.olMS G);
System.Net.Mail.Attachment attach = new
attach.Name = "OriginalMessage.MSG";

May 14 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.