View Single Post
  #2  
Old February 27th 06, 03:06 PM posted to microsoft.public.outlook.program_addins
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default How to export message + attachments using .NET

These samples show various ways to save attachments:

http://www.fontstuff.com/outlook/oltut01.htm
http://www.outlookcode.com/codedetail.aspx?id=70
http://www.slovaktech.com/code_sampl...ripAttachments

To save the message itself as a file you can use the MailItem.SaveAs method

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


wrote in message oups.com...
Hi.
We would like to define a button that would export a message and its
attachments to another system.
The platform is .NET, and we can use VB or C#.
Any pointers or sample code will be appreciated.
TIA

Ads