Partager via


Account.SmtpAddress Property (Outlook)

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

Version Information

Version Added: Outlook 2007

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

Concepts

Account Object

Account Object Members

How to: Send an E-mail Given the SMTP Address of an Account

Other Resources

How to: Send an E-mail Given the SMTP Address of an Account