views:

308

answers:

0

Hello,

Im creating an addin for Outlook 2007. I have no problems creating custom folders and custom MailItems or PostItems and moving them to my folders.

But Outlook assumes, that all those items I create (using Application.CreateItem) are to be sent - It allows me only to change the "To" property, but there's no "From" property.

In other words, how can I create an outlook item, that appears as it was received? (So I have control over the "From" field)

Im using Visual Studio 2008, .NET 3.5

Thanks