Back to product page

To Property


Holds recipient of the message.

Type

String

Syntax

  • Basic
object.To [= value]
The To(object,value) syntax has these parts:
objectAn expression evaluating to an object of type SmtpMsg
valueA String value.

Remarks

To property will internally scan headers and search for 'To' header, and return its information to you. Before it does that, it will decode the value if UNICODE was used so that you get printable expression in your applications.

When you set this property, it will overwrite 'To' header.

Platforms

Windows