Don't save to SaveSentMessageFolder

  • Thread starter Thread starter Helmut Weber
  • Start date Start date
H

Helmut Weber

Hi everybody,
I am looking for a way, to prevent saving of
sent messages in the SaveSentMessageFolder,
that is switching this option off
and after a larger mailing action,
switching it on again.
 
Some more info:
of course I can set the option to off via the user
interface, but it has no effect when sending mails
programmatically.
 
You could set the .DeleteAfterSubmit Boolean property on each mail item you
are sending out. That will delete the item after you send it and won't save
it in Sent Items. If you want the item saved to a different folder and not
to Sent Items you can set the .SaveSentMessageFolder property to a different
MAPIFolder object before you send out the email.
 
Hi Ken,
may I bother you once more.
Do you think it is possible, to keep a record
of sent items, without storing the items themself,
just to, topic, date, time,
or at least without the attachments?
By the way, I am automating outlook by lotus script,
which is very similar to vba.
Thank you.
 
You could trap Application_Send, and gather the information you wanted to
store in that event handler.
 
Back
Top