EMAILID= System Option

Identifies an e-mail sender by specifying either a logon ID, an e-mail profile, or an e-mail address.
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

Syntax Description

logonid
specifies the logon ID for the user running SAS.
Note: The maximum number of characters is 32,000.
profile
see documentation for your e-mail system to determine the profile name.
email-address
specifies the fully qualified e-mail address of the user running SAS.
Requirements:The e-mail address is valid only when SMTP is enabled.

If the value of email-address contains a space, you must enclose it in double quotation marks.

Details

The EMAILID= system option specifies the logon ID, profile, or e-mail address to use with your e-mail system.

Comparisons

For the SMTP access method, use this option in conjunction with the EMAILAUTHPROTOCOL=, EMAILPW=, EMAILPORT, 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.