[Outlook] Is it possible to evaluate the recipients list?

Add-in Express™ Support Service
That's what is more important than anything else

[Outlook] Is it possible to evaluate the recipients list?
see details in message... 
Sven Heitmann




Posts: 193
Joined: 2004-08-23
Hi,

my workmate is using Outlook 2003 and he is missing a feature I try to explain:
He has some groups of recipients and want to have the ability to say: use this group but exclude this user...

He want to write something like "Group1; -sendnomail@tohim.net" into the Recipientlist.
Then Outlook shall send all useres of Group1 except for sendnomail@tohim.net.

I think its pretty usefull if the group has about 20 users and he want to exclude 2 of them. However there is no function like this included (afaik).

So my Question is:
when I catch the send button, can I evaluate the recipientlist and remove the adresses he "marked"?

Best regards,
Sven
Best regards,

Sven Heitmann
Posted 28 Jan, 2005 02:44:14 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Sven.

When you press the send button Outlook fills the TO field with recipients from your distribution list. You can try to use ItemSend event of Outlook to change the recipients list as you like.
I also found a good resource related to Outlook programming.
http://support.microsoft.com/?kbid=313797
http://www.microeye.com/resources/res_outlookvsnet.htm
Posted 28 Jan, 2005 08:34:59 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Sven,

In case of using the ItemSend event you will have to scan a distribution list to find a recipient you need because Outlook expands a distr. list after a new email has been saved to the Outbox folder.
Posted 28 Jan, 2005 09:13:39 Top
Sven Heitmann




Posts: 193
Joined: 2004-08-23
ok, i will take a deeper look into this next week.
it's my first try with outlook... ;)
Best regards,

Sven Heitmann
Posted 28 Jan, 2005 10:25:10 Top