EMAILPORT System Option

Specifies the port that the SMTP server is attached to.
Valid in: Configuration file, SAS invocation, OPTIONS statement, SAS System Options window
Category: Communications: Email
PROC OPTIONS GROUP= EMAIL
Note: This option can be restricted by a site administrator. For more information, see Restricted Options.

Syntax

EMAILPORT <port-number>

Syntax Description

port-number
specifies the port number that is used by the SMTP server that you specified on the EMAILHOST option.
Note:The system administrator for your site will provide this information.

Details

Operating Environment Information: If you use the SMTP protocol that SAS provides, you must also specify the EMAILSYS SMTP system option. For information about EMAILSYS, see the documentation for your operating environment.

Comparisons

For the SMTP access method, use this option in conjunction with the EMAILID=, EMAILAUTHPROTOCOL= , EMAILPW= , and EMAILHOST system options. EMAILID= provides the user name. EMAILPW= provides the password. EMAILPORT specifies the port to which the SMTP server is attached. EMAILHOST specifies the SMTP server that supports e–mail access for your site. EMAILAUTHPROTOCOL= provides the protocol.