Account.SmtpAddress property (Outlook)

Returns a String representing the Simple Mail Transfer Protocol (SMTP) address for the Account. Read-only.

Syntax

expression. SmtpAddress

expression A variable that represents an Account object.

Remarks

The purpose of SmtpAddress and Account.UserName is to provide an account-based context to determine identity.

If the account does not have an SMTP address, SmtpAddress returns an empty string.

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.