The
Tos array
contains the list of email
addresses that will be displayed in the To message field.
Use the
Add method to append an email
address to the
Tos array. Use
the
Value
property to get or set a list of comma separated email addresses.
[VB]
Dim oMail As New Mail
oMail.Tos.Value = "Marie <marie@emilltest.com>, ""Sales Department""
<sales@emilltest.com>"
oMail.Tos.Add "John <john@emilltest.com>"
oMail.Tos.Add Mail.CreateEmailAddress("Lisa Marìa",
"lisa@emilltest.com")