EMAILPW= System Option

Specifies an e-mail logon password.
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

EMAILPW= "password"

Syntax Description

password
specifies the logon password for your logon name.
Restriction:If “password” contains a space, you must enclose the value in double quotation marks.

Details

You can use encoded e-mail passwords. When a password is encoded with PROC PWENCODE, the output string includes a tag that identifies the string as having been encoded. An example of a tag is {sas001}. The tag indicates the encoding method. Encoding a password enables you to avoid e-mail access authentication with a password in plaintext. Passwords that start with "{sas" trigger an attempt to be decoded. If the decoding succeeds, then that decoded password is used. If the decoding fails, then the password is used as is. For more information, see PWENCODE Procedure in Base SAS Procedures Guide.
Windows Specifics: In the Windows operating system, SAS prompts you for an e-mail ID and a password if the EMAILSYS system option is set to MAPI or VIM if you do not specify the EMAILID and EMAILPW system options at invocation, or if you are not otherwise logged in to your e-mail system. If the EMAILSYS system option is set to SMTP, SAS will not prompt you for an e-mail ID and a password.

Comparisons

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