For SMTPClient object

Applies to

SMTPClient object

Description

Sets the sender's username when sending an email.

Usage

In scripts

The UserName property takes a string value. The following line sets the UserName property:

lnv_SmtpClient.Username = "tester001.appeon@gmail.com"
lnv_SmtpClient.password = "Mypassword001"