Previous Page | Next Page

SAS System Options

EMAILHOST= System Option



Specifies one or more SMTP servers that support e-mail access.
Valid in: configuration file, SAS invocation, OPTIONS statement, SAS System Options window
Category: Communications: Email
PROC OPTIONS GROUP= EMAIL

Syntax
Syntax Description
Details
Comparisons
See Also

Syntax

EMAILHOST= server
EMAILHOST=( 'server-1' 'server-2' <...'server-n'> )

Syntax Description

server

specifies one or more Simple Mail Transfer Protocol (SMTP) server domain names for your site.

Note:   The system administrator for your site will provide this information.   [cautionend]

Range: The maximum number of characters that can be specified for SMTP servers is 1,024
Requirement: When more than one server name is specified, the list must be enclosed in parentheses and each server name must be enclosed in single or double quotation marks..

Details

When more than one SMTP server is specified, SAS attempts to connect to e-mail servers in the order that they are specified. E-mail is delivered to the first server that SAS connects to. If SAS is not able to connect to any of the specified servers, the attempt to deliver e-mail fails and SAS returns an error.

Operating Environment Information:   To enable the SMTP interface that SAS provides, you must also specify the EMAILSYS=SMTP system option. For information about EMAILSYS, see the documentation for your operating environment.   [cautionend]


Comparisons

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


See Also

System Option:

EMAILAUTHPROTOCOL= System Option

EMAILID= System Option

EMAILPORT System Option

EMAILPW= System Option

Previous Page | Next Page | Top of Page