Password Property  
 

Gets and sets the password used to authenticate the session.

Syntax

object.Password [= value ]

Remarks

The Password property is used to authenticate the current session. If the message is being sent using SMTP, this property is used to specify a password when connecting to the mail server . If no authentication is required, this property may be an empty string. Note that some service providers may use terminology other than "password" with their documentation; in that case, this property will always specify the second of a pair of authentication tokens sent to the server to identify the client.

Data Type

String

See Also

ServerName Property, ServerPort Property, UserName Property, SendMessage Method