From Property (CDONTS NewMail Object)

From Property (CDONTS NewMail Object)

The From property sets the full messaging address to be used for the sender of this NewMail object. Write-only.

Syntax

        objNewMail.From 

Data Type

String

Remarks

The full messaging address must take the form

  "sendinguser@example.com"
 

You cannot use a semicolon anywhere in the From string. Semicolons are reserved for multiple messaging addresses in a list, and the CDO for NTS Library does not permit multiple senders.

See Also

Concepts

NewMail Object (CDONTS Library)