Easy way to add multiple recipients?

M

Maury Markowitz

I have a database that we use to send out end-of-day e-mails to our traders.
I've been asked by several of them to add multiple e-mail addresses, one for
their work account, and another for their mobile device (whatever that may
be).

Technically this is very easy, just call .Recipients.Add a couple of times.
But here's the problem, I have only one row in the db per trader, and one
field for the e-mail. I'd like to avoid changing the db, so I've decided to
store the addresses packed into the field.

So here's the question: is there some easy way to do this? Can I simply
separate them with semicolons, call .Recipients.Add once with the
"multi-address", and have it work?

Maury
 
K

Ken Slovak - [MVP - Outlook]

No. Either parse out the separate addresses using the separator to divide
them or use the To or whatever field.
 
S

Sue Mosher [MVP-Outlook]

Instead of using Recipients.Add set the value of the To property to your semi-colon delimited string of addresses.
 
M

Maury Markowitz

Sue Mosher said:
Instead of using Recipients.Add set the value of the To
property to your semi-colon delimited string of addresses.

Oh, very interesting. Thanks!

Maury
 
Top