VBA code to disable/enble Outlook Sent folder

S

Song Su

I want to give user a choice of disable Outlook save a copy in sent folder.
How to do it in VBA?
 
D

David C. Holley

Try using the .DeleteAfterSubmit property of the MailItem that you're
working with. If you want to designate a specific folder to save the copy
in, then use the .SaveSentMessageFolder.

You'll want to refer to the articles at this address for specific code
examples.

http://msdn.microsoft.com/en-us/library/aa210946(office.11).aspx

I'm assuming of course that you're generating the MailItem from with Access
using Outlook Automation.
 

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