Previous Page | Next Page

Working in the SAS Windowing Environment

Sending Mail from within Your SAS Session under OpenVMS


Default E-mail Protocol in SAS

By default, SAS uses SMTP (Simple Mail Transfer Protocol) to send e-mail from within your SAS session. For information about how to change to the VMS e-mail facility, see EMAILSYS= System Option: OpenVMS.

For more information about the SMTP e-mail interface, see SAS Language Reference: Concepts.


What Is the Send Mail Dialog Box?

The Send Mail dialog box enables you to send e-mail without leaving your current SAS session.


Sending E-Mail Using the Send Mail Dialog Box

To open the Send Mail dialog box, select File [arrow] Send Mail.

Send mail Dialog Box

[Send Mail Dialog Box]

To send e-mail, complete the following steps as needed:

To cancel a message, click Cancel.

Note:   The Bcc and Attach fields are valid only with SMTP. The VMS e-mail facility does not support them. If you use the VMS e-mail facility, then you cannot attach images to your e-mails. For more information about attaching images, see Sending the Contents of a Non-Text Window.  [cautionend]


Sending the Contents of a Text Window

You can e-mail the contents of an active SAS text window (such as the Program Editor or the Log) by using the Send mail dialog box. To open the Send mail dialog box, select File [arrow] Send Mail. SAS automatically copies the contents in the active SAS window and includes the text in the body of your e-mail. You can change or add to the e-mail message in the Send mail dialog box.

If you do not want to include the contents of the active SAS window in your message, select Edit [arrow] Clear All before opening the Send mail dialog box.


Sending the Contents of a Non-Text Window

To send the contents of a non-text window (such as a graph generated by SAS/GRAPH or an image from your PROC REPORT output), select File [arrow] Send Mail from the active SAS window.

SAS automatically copies the image data to a temporary file and enters that filename in the Attach field of the Send mail dialog box. To change the default file type for this temporary file, see Changing the Default File Type.

SAS only copies the portion of the image that is visible in the active window, along with the window frame and title. This behavior is similar to using the DLGSCRDUMP command. For more information, see DLGSCRDUMP Command: OpenVMS.

If you do not want to attach this image to your e-mail, clear the contents of the Attach field.

Note:   The VMS e-mail facility does not support attachments. You can send attachments only when using SMTP.  [cautionend]


Changing the Default File Type

You can change the default file type for the temporary file that SAS creates by using the Preferences dialog box. To open the Preferences dialog box, select Tools [arrow] Options [arrow] Preferences. On the DMS tab in the Image type for Email attachments box, select one of the following image file types:

Previous Page | Next Page | Top of Page