Discussion:
Multiple SendMail Recipients
(too old to reply)
John Hutcins
2005-09-20 22:17:04 UTC
Permalink
Is it possible to have more than one recipient with the SendMail Method?

I know I can do this: ActiveWorkbook.SendMail
Recipients:=("***@Addr.com").
But I haven't figured out how to add a second email address. Is it
possible? Or do you need to use a second SendMail line?
Bob Phillips
2005-09-20 23:17:57 UTC
Permalink
You can setup an array of names as the recipient list

ActiveWorkbook.SendMail _
Recipients:=Array("***@Addr.com", "***@somewhere.com"), _
Subject:="test"
--
HTH

Bob Phillips
Post by John Hutcins
Is it possible to have more than one recipient with the SendMail Method?
I know I can do this: ActiveWorkbook.SendMail
But I haven't figured out how to add a second email address. Is it
possible? Or do you need to use a second SendMail line?
John Hutcins
2005-09-21 13:41:01 UTC
Permalink
Thanks, that did the trick!
Post by Bob Phillips
You can setup an array of names as the recipient list
ActiveWorkbook.SendMail _
Subject:="test"
--
HTH
Bob Phillips
Post by John Hutcins
Is it possible to have more than one recipient with the SendMail Method?
I know I can do this: ActiveWorkbook.SendMail
But I haven't figured out how to add a second email address. Is it
possible? Or do you need to use a second SendMail line?
Continue reading on narkive:
Loading...