Easy way to add multiple recipients?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
No. Either parse out the separate addresses using the separator to divide
them or use the To or whatever field.
 
Instead of using Recipients.Add set the value of the To property to your semi-colon delimited string of addresses.
 
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
 
Back
Top