07-30-2013 02:56 AM
The code is giving connection time out ERROR when i am trying out to send a email to GMAIL server using smtp settings.
please help me out.
the code is as:
filename outbox email "firstname.lastname@example.org" debug;
subject="My SAS Output"
put 'program ran';
put 'It worked great!';
Thanks in advance.
07-31-2013 08:01 AM
Now I change the code and executed it .It basically giving no ERROR in the log and log is reflecting that mail is sent but i didnot receive the mail. Idon't know what is the problem.Please guide
Here is the code:-
FILENAME mymail EMAIL "NULL"
input Email_ID $25.;
OPTIONS MLOGIC MPRINT SYMBOLGEN;
DATA _NULL_ ;
07-31-2013 08:45 AM
As you read the other thread....
1/ you have to deal with firewall-s and routers.
2/ conflicting requirements like requirement of ssl (supported starting at 9.4)
You did not get a Syntax Error. That doesn't indicate the processing of sending was succesful.
Do not expect correct error messages or notes of something happening outside the SAS world.
SAS(R) 9.3 System Options: Reference, Second Edition ( EMAILAUTHPROTOCOL= System Option)
I would expect to be set to Yes as SMTP has normally no security by using valdiatied lines/machines (bulk mail).
Account must be set open to use IMAP/POP (go to mail-settings)
Checking SSL/TSL What Are the Gmail SMTP Settings? - About Email ...
Gmail is requiring SSL/TLS and SAS is supporting it with 9.4. Do you have 9.4?