To Property (CDONTS NewMail Object)

The To property adds to the list of principal (To) recipients for the NewMail object. Write-only.

Syntax

objNewMail.To 
 

Data Type

String

Remarks

The value you use to set the To property can represent a single recipient or a list of recipients. Each recipient must be represented by a full messaging address:

"useraddress@company.com" 
 

Multiple recipients on the list are separated by semicolons:

"user1@company1.com;user2@company2.com;user3@company3.com" 
 

If both the To property and the To parameter of the Send method are supplied, the NewMail object is sent to all recipients on both lists.