A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to detect an email address is used in To box



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 25th 08, 04:35 AM posted to microsoft.public.outlook.program_vba
tim
external usenet poster
 
Posts: 38
Default 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

  #2  
Old November 25th 08, 03:17 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Detect which attachment Item(s) is selected in an email a3kumarz Outlook and VBA 3 November 5th 08 03:20 PM
unable to detect/view email signature Theo Outlook - Installation 0 October 23rd 07 06:11 AM
Detect/Repair 'feature' shouldnt wipe out inbox and address bo Dave Outlook - Installation 1 February 7th 07 06:30 PM
How do I make a new email address supercede an old email address? dhbirt Outlook - Using Contacts 3 May 13th 06 05:38 AM
Set which local email account can send mail to contacts in address book. (associating an email address with a contact) Scott Streit Outlook - General Queries 3 January 27th 06 03:57 PM


All times are GMT +1. The time now is 11:37 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.