How do I configure a reminder for attachment passwords?

J

JR

My company sends attachments (office files) to clients via
the internet. They usually password protect these files.
Is there anyway to have outlook tell the user that the
attachment does not have a password? Sometimes they forget
to put the password on the attachment...

Thanks, J.R.
 
K

Ken Slovak - [MVP - Outlook]

You would have to write code to do that. Your code would have to
intercept the AttachmentAdd event for an open item, check the original
item that is being attached by opening it from the file system as a
file of the specified type, for example Word doc. Then it would have
to use the Word object model to check for the Document.HasPassword
Boolean to see if the file was password protected. The same would be
done for Workbook.HasPassword for Excel files.

This isn't going to be a trivial task, it would require a COM addin,
would only work for Outlook 2000 and later and wouldn't work correctly
necessarily if the user was using Outlook 2000 and Word as the email
editor. It should work with Outlook 2002 and later even if WordMail
was being used.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm
 

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

Top