Archive of new email

P

Puneet

Desc:Suppose i opens the new email window of outlook and write an email ,I have also added a button "Send And Archieve" in the email window .On click of this button first the email should be sent means i have to call the send button of outlook email window.Then i have save this email content in the database table.
I spent lot of time for that but did not find anything till now

If anybody knows the trick plz share it with me.
Thanks
Puneet.
 
K

Ken Slovak - [MVP - Outlook]

If you have a handle to the mail item just call the Send() method of the
item. You can then extract all the information you need. Some properties
aren't added until the item leaves Outlook so you would have to trap the
ItemAdd event of the Sent Items folder's Items collection and get the item
there to extract properties such as From, Sent, SentOn, etc.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top