Platform SDK: CDO 1.2.1

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@microsoft.com" 
 

Multiple recipients on the list are separated by semicolons:

  "user1@microsoft.com;user2@microsoft.com;user3@microsoft.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.