Warning about confidential data on outbound attachments

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

Guest

Hi, I'm trying to have Outlook performing a check on the outbound attachment
and if the attachment is confidential, to show a dialog box that warns the
user of the fact and request confirmation before sending.

Ideally Outlook would check the properties of the file being sent for a
keyword, say "confidential", but it would still be good if at least Outlook
can verify whether the string "confidential" is part of the file name (that
implies a naming convention that all confidential docs need to have the word
confidential in their name - but that's alright - not as elegant but ok)

Can anyone help please? Regards, Flavio @ (e-mail address removed)
 
Hi Dmitry,

Thanks for your assistance. However, I had tried something similar, but my
programming skills are pretty lame. I just can't figure out how to make
outlook check in the attachment properties and name. Any other suggestions?
 
Loop through all the items in the MailItem.Attachments collection and check
the Attachment.FileName property.

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