In most cases, the SAS System can send SMTP e-mail via an SMTP server rather than through the locally installed e-mail client. If you have problems sending SMTP e-mail from SAS, use the following steps to troubleshoot the problem. These steps help you determine whether you can send e-mail from an SMTP server, without SAS being involved. Perform these steps on the same machine where SAS is installed. If you cannot send e-mail successfully by following these steps, neither can SAS.
- Access a DOS command prompt by selecting Start ► Run. Then type CMD
in the Open field and click OK.
- The following syntax shows the information that you need to enter,
one line at a time, at the command prompt. The text in brackets represents
user-supplied values. This is an example only
and your domain name might not be .com. It could be .gov, .org, .edu.
Use the correct domain name for your organization.
telnet your-mail-host.com 25
helo your-domain-name.com
mail from: your-user-name@domain.com
rcpt to: your-recipient@domain.com
data
Hello. This is a test.
.
quit
Note that you must know the appropriate host server name and domain name as well as the sending and receiving e-mail addresses (To/From). Port 25 is the default port, although your port number might be different. If you do not know this information, contact your local e-mail administrator.
The following example shows the return prompts (in parentheses) that you get for each line:
telnet mailhost.compak.com 25
helo compak.com (Hello [ip address])
mail from: michael.brown@compak.com (Sender Ok)
rcpt to: lisa.smith@compak.com (Recipient Ok)
data (Send data now. Terminate with ".")
Hello. This is a test.
. (Message accepted for delivery)
quit (Goodbye!)
- Check your e-mail client to verify that you did receive the e-mail
message.
- Exit the DOS window by submitting the EXIT command.
SAS System | Base SAS | Microsoft Windows Server 2008 for x64 | | |
Microsoft Windows Server 2003 Standard Edition | | |
Microsoft Windows Server 2003 for x64 | | |
Microsoft Windows Server 2008 | | |
Microsoft Windows Server 2008 R2 | | |
Microsoft Windows Server 2012 Datacenter | | |
Microsoft Windows Server 2003 Enterprise Edition | | |
Microsoft Windows Server 2003 Datacenter Edition | | |
Microsoft Windows NT Workstation | | |
Microsoft Windows 2000 Professional | | |
Microsoft Windows 2000 Server | | |
Microsoft Windows 2000 Datacenter Server | | |
Microsoft Windows 2000 Advanced Server | | |
Microsoft Windows 95/98 | | |
Microsoft Windows 8.1 Pro 32-bit | | |
Microsoft Windows 8.1 Pro | | |
Microsoft Windows 8.1 Enterprise x64 | | |
Microsoft Windows 8.1 Enterprise 32-bit | | |
Microsoft Windows 8 Pro x64 | | |
Microsoft Windows 8 Pro 32-bit | | |
Microsoft Windows 8 Enterprise x64 | | |
Microsoft Windows 8 Enterprise 32-bit | | |
OS/2 | | |
Microsoft® Windows® for x64 | | |
Microsoft Windows XP 64-bit Edition | | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | | |
Microsoft Windows Server 2012 R2 Datacenter | | |
Microsoft Windows Server 2012 R2 Std | | |
Microsoft Windows Server 2012 Std | | |
Microsoft Windows XP Professional | | |
Windows 7 Enterprise 32 bit | | |
Windows 7 Enterprise x64 | | |
Windows 7 Home Premium 32 bit | | |
Windows 7 Home Premium x64 | | |
Windows 7 Professional 32 bit | | |
Windows 7 Professional x64 | | |
Windows 7 Ultimate 32 bit | | |
Windows 7 Ultimate x64 | | |
Windows Millennium Edition (Me) | | |
Windows Vista | | |
Windows Vista for x64 | | |