Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   How to detect an email address is used in To box (http://www.outlookbanter.com/outlook-vba/82242-how-detect-email-address-used.html)

tim November 25th 08 04:35 AM

How to detect an email address is used in To box
 
I would like to be able to auto set options for an email, like digital
signatures and encryption, based on who the email is going to.

How do I start something like this. I am real new to this, but figured VBA
would be the only way to pull off something like this.

Thanks,
Tim


Ken Slovak - [MVP - Outlook] November 25th 08 03:17 PM

How to detect an email address is used in To box
 
The Outlook object model doesn't expose the properties for encryption or
digital signatures. If the menu items or toolbar items for those settings
are exposed you could get the menu items as Office.CommandBarButton objects
and then call the Execute() methods of those buttons, that's about all you
could do.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Tim" tim(at)wies(dot)name wrote in message
...
I would like to be able to auto set options for an email, like digital
signatures and encryption, based on who the email is going to.

How do I start something like this. I am real new to this, but figured
VBA
would be the only way to pull off something like this.

Thanks,
Tim




All times are GMT +1. The time now is 08:58 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com