MailMill COM 1.0 Documentation

Tos Mail Property:
Returns a reference to a MailArray object that contains message recipients.
Syntax:
[C++]
HRESULT get_Tos(IMailArray **ppVal);
[VB]
Property Tos As MailArray
Remark:
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.
Example:
[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")
See also:
MailMill Component | Mail Object

 

Copyright © Active+ Software 2005 - All rights reserved