EMAILSYS System Option: Windows

Specifies the email protocol to use for sending electronic mail.

Valid in: configuration file, SAS invocation, OPTIONS statement, SAS System Options window
Category: Communications: Email
PROC OPTIONS GROUP= EMAIL
Default: MAPI
Windows specifics: all

Syntax

-EMAILSYS MAPI | VIM | SMTP

Required Arguments

MAPI

specifies to use the Messaging Application Programming Interface (MAPI) electronic mail interface. This value is the default.

VIM

specifies to use the Vendor Independent Mail (VIM) electronic mail interface.

SMTP

specifies to use the Simple Mail Transfer Protocol email interface.

Details

SAS supports three types of protocols: MAPI (such as Microsoft Exchange), Vendor Independent Mail (VIM) and SMTP. The default value is MAPI. If you specify SMTP, you must also specify and configure the EMAILHOST and EMAILPORT system options. SMTP is available only when you are sending email programmatically. SMTP is not available using either your email program native dialog box or the SAS email dialog box.