Not receiving SMS messages

Accepted Solution Solved
Reply
Contributor
Posts: 38
Accepted Solution

Not receiving SMS messages

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


Accepted Solutions
Solution
‎11-30-2017 01:57 AM
Super User
Posts: 8,590

Re: Not receiving SMS messages

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.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers

View solution in original post


All Replies
Super User
Posts: 21,546

Re: Not receiving SMS messages

Does a hardcoded email to that address receive the text?

Contributor
Posts: 38

Re: Not receiving SMS messages

If your question is- if I have sent an email to this number ....yes. I have tested it prior and it works.
Contributor
Posts: 38

Re: Not receiving SMS messages

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.
Solution
‎11-30-2017 01:57 AM
Super User
Posts: 8,590

Re: Not receiving SMS messages

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.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Super User
Posts: 3,481

Re: Not receiving SMS messages

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.

Contributor
Posts: 38

Re: Not receiving SMS messages

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

Super User
Posts: 21,546

Re: Not receiving SMS messages

Please mark the question as solved.

☑ This topic is solved.

Need further help from the community? Please ask a new question.

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