Save email from send items (outlook)

Elpatri

New member
Joined
Feb 9, 2007
Messages
1
Programming Experience
1-3
Hi,

I'm creating an outlook mail item in VB.NET,
when the user then adjusts this email and send's it,
thats when i want to save is to an .msg file.

So i'm looking for a funtion to search the last item in the send items folder of outlook.

Can anybody help me with this one ?

Ive bin looking for 1 month now and i can't find enything .....

Thanx for youre time.
 
You can use the ItemSend event of the Outlook.Application, here Item parameter is the MailItem sent and you could use its SaveAs method. I tested it and detected the item just fine, but there seemed to be a problem with the SaveAs method. Obviously the security warning appears as explained in help, but even allowing this access the mail wasn't saved, perhaps you can figure that out...
 
Back
Top