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
 

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

Back
Top