(Msg. 1) Posted: Thu Aug 07, 2008 1:06 pm
Post subject: Unduplicate E-mail Addresses in Custom Form Archived from groups: microsoft>public>outlook>program_forms (more info?)
I've a customized Outlook 2003 form where the cc: line is populated by
aggregating the e-mail addresses from the to: from: and prior cc: items.
This is to guarentee that once a person shows up in an e-mail stream they'll
continue to get all related e-mails automatically.
The problem is looks. One individual can show up many times in the cc:
line. Any tricks or tips to make sure e-mail IDs only show up once in the
cc: line, no matter how many times an individual may have received earlier
versions of the e-mail?
(Msg. 2) Posted: Thu Aug 07, 2008 1:35 pm
Post subject: RE: Unduplicate E-mail Addresses in Custom Form [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
There's no trick involved. Your code simply needs to iterate the Recipients
collection and check each Recipient.Address to determine whether a particular
address is already in the message or needs to be added.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"Richard" wrote:
> I've a customized Outlook 2003 form where the cc: line is populated by
> aggregating the e-mail addresses from the to: from: and prior cc: items.
> This is to guarentee that once a person shows up in an e-mail stream they'll
> continue to get all related e-mails automatically.
>
> The problem is looks. One individual can show up many times in the cc:
> line. Any tricks or tips to make sure e-mail IDs only show up once in the
> cc: line, no matter how many times an individual may have received earlier
> versions of the e-mail?
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum