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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.