SMTPSocket.UserName

From Xojo Documentation

Property (As String )
aSMTPSocket.UserName = newStringValue
or
StringValue = aSMTPSocket.UserName

Supported for all project types and targets.

The UserName to use to log into the SMTP server.