SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Ronein
Meteorite | Level 14

The admin sent me again the Host mail and now it is working 100%

Thank you again

 

fja
Lapis Lazuli | Level 10 fja
Lapis Lazuli | Level 10

@Ronein wrote:

I talked with admin and he gave me the hostmail    smtp.tleumi

However ,now I get another error

ERROR: Email: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM

My questions:

What does it mean?

What is this error?

How can I solve it?

You are on the right track now! 🙂

What you need, as @Kurt_Bremser has already indicated, is to check with your admin what credentials are needed on the smtp server ... and than one needs to fiddle that into the email options according to the documentation. But I am sure we can workt that out. 🙂

Ronein
Meteorite | Level 14

Hello

It is another topic that I open related to sending email from SAS .

It is strange and I want to understand why it happens and how can I solve it.

When I open SAS and create a simple program with short code of sending email then it is working 100% and I get the email.

 filename mymail email "Dave.Stein@gmail.com" subject="test message";
 data _null_;
 file mymail;
 put 'Hello there';
 run; 

But when I add this short code to exisiting sas program with long code then I get an error

ERROR: Email host < not found.

Any idea why did it happen?

Why in shirt program it works well and in long program not?

 

andreas_lds
Jade | Level 19

Talk to the sas admins, the email host needs to be configured. I don't think that those options can be changed in an active session.

Patrick
Opal | Level 21

@andreas_lds wrote:

Talk to the sas admins, the email host needs to be configured. I don't think that those options can be changed in an active session.


Sure they can and easy to check in the docu.

Patrick_0-1672658288048.png

 

fja
Lapis Lazuli | Level 10 fja
Lapis Lazuli | Level 10

I do not fully understand your description. The code quoted does work if run on its own, but when merged with the code quoted above and run with that it does not? Is it that?

If so ... could you check for differences in the smtp setup in both cases?

proc options group=email; run;

Just to ensure that we are walking down the same road.

Ronein
Meteorite | Level 14
Admin sent me again the true Host mail and it is working 100%
thank you all!!
fja
Lapis Lazuli | Level 10 fja
Lapis Lazuli | Level 10
Congratulations! 🙂 Now all is well that ends well! 🙂

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 22 replies
  • 4031 views
  • 9 likes
  • 7 in conversation