Setting the message To address

Top  Previous  Next

To set the To header address of an email message assign the To property on the EmailMessage instance. If the To address contains non US-ASCII character data then see Sending an Email message for languages other than English.

 

Example

 

[C#]

message.To = "jsmith@myserver.com";

 

[Visual Basic]

message.To = "jsmith@myserver.com"

 

 

See also

 

Sending an Email message for languages other than English





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC