BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
HabAM
Quartz | Level 8

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

HabAM
1 ACCEPTED SOLUTION

Accepted Solutions
7 REPLIES 7
Reeza
Super User

Does a hardcoded email to that address receive the text?

HabAM
Quartz | Level 8
If your question is- if I have sent an email to this number ....yes. I have tested it prior and it works.
HabAM
HabAM
Quartz | Level 8
I have received all of my attempts over night. I don’t know what caused it to act this way, but it worked. If anyone knows what could have caused the delayed response ...I like to hear about it.

Thank you Reeza.
HabAM
Kurt_Bremser
Super User

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.

SASKiwi
PROC Star

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.

HabAM
Quartz | Level 8

It was the initial email that delayed for 24 hrs. It's working now. Thank you

HabAM
Reeza
Super User

Please mark the question as solved.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 7 replies
  • 877 views
  • 1 like
  • 4 in conversation