Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: How to export message + attachments using .NET

Geek News

How to export message + attachments using .NET
dnoam[ at ]il.ibm.com 2/27/2006 1:14:09 PM
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

Re: How to export message + attachments using .NET
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> 2/27/2006 3:06:44 PM
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_samples.htm#StripAttachments

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


<dnoam[ at ]il.ibm.com> wrote in message news:1141046048.930933.249450[ at ]t39g2000cwt.googlegroups.com...
[Quoted Text]
> 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
>
Re: How to export message + attachments using .NET
dnoam[ at ]il.ibm.com 2/28/2006 6:18:43 AM
Thanks.

Re: How to export message + attachments using .NET
dnoam[ at ]il.ibm.com 2/28/2006 8:49:07 AM
I understand this would work as a macro (right?).
We would prefer an Add-in.
Do you have a pointer about creating Outlook add-ins?
TIA

Re: How to export message + attachments using .NET
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> 2/28/2006 1:17:49 PM
http://www.outlookcode.com/d/comaddins.htm
http://www.outlookcode.com/vsto/

--
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


<dnoam[ at ]il.ibm.com> wrote in message news:1141116547.359929.245260[ at ]p10g2000cwp.googlegroups.com...
[Quoted Text]
>I understand this would work as a macro (right?).
> We would prefer an Add-in.
> Do you have a pointer about creating Outlook add-ins?
> TIA
>
Re: How to export message + attachments using .NET
dnoam[ at ]il.ibm.com 3/1/2006 6:43:48 AM
Thanks again.
You're the best!

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net