Strip Attachments AFTER sending

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am writing a macro in the itemsend event of the Outlook 2007 Application
object. When the outgoing mail has attachments that are over a certain size,
I want to pop a message box offering to send the note, then remove the
attachments before saving (just the note) in the Sent folder. I cannot seem
to find how to do this. Any help?

Thanks.

dw
 
Trap the MAPIFolder.Items.ItemAdd event on the Sent Items folder and remove
the attachments from that handler.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top