I am trying to set up SMS notification, the problem is am not receiving text. Here is my log (replaced my actual number, and emailhost ID). Any help is greatly appreciated-
167
168
169 options emailsys =smtp;
170 options emailauthprotocol = NONE;
171 options emailhost = smtp.xxx.org;
172 filename myemail1 EMAIL to="7777777777@tmomail.net";
173 data _null_;
174 file myemail1;
175 put "Test run ";
176 run;
NOTE: The file MYEMAIL1 is:
E-Mail Access Device
Message sent
To: "7777777777@tmomail.net"
Cc:
Bcc:
Subject:
Attachments:
NOTE: 2 records were written to the file MYEMAIL1.
The minimum record length was 9.
The maximum record length was 35.
NOTE: DATA statement used (Total process time):
real time 0.13 seconds
cpu time 0.00 seconds
177 filename myemail1 clear;
NOTE: Fileref MYEMAIL1 has been deassigned.
Thank you
Email relays often have safeguards against abuse as a spam transport. It might be that the SAS server was not yet whitelisted, and has been in the meantime.
Does a hardcoded email to that address receive the text?
Email relays often have safeguards against abuse as a spam transport. It might be that the SAS server was not yet whitelisted, and has been in the meantime.
Where is the delay happening? Is it with the initial email or is it with the relayed SMS?
I would run further tests to confirm if you consistently get time delays or if they are one-offs.
It was the initial email that delayed for 24 hrs. It's working now. Thank you
Please mark the question as solved.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.