Add-in for verfying recipients email address is in the attachment

  • Thread starter Thread starter mps161
  • Start date Start date
M

mps161

I am trying to prevent emails with attachments from being sent to the
wrong person accidently. I need a way to have outlook scan the
attachment for the email address of the recipient. The attachment
would be a word document, text file, or excel file with the first page
or row having the client's name and address. Is there a way to do this
in outlook before it would allow the document to be sent? I would like
to have it where when clicking the send button that a box would come up
if the recipients’ email address was not in the attachment. I am a
basic user of outlook so I do not know much about COMs.
 
You can handle the item.Send() event and check the attachments there.
However to check each attachment you need to save it to the file system and
load it with the program that handles that type of file. You can then scan
the file using methods from that program (assuming it can be automated).

For information and samples for COM addins for Outlook look at
www.outlookcode.com
 
Back
Top