BookmarkSubscribeRSS Feed
SR_FR
Obsidian | Level 7

Hi

 

I've been using for years this kind of program to send emails with SAS :

 

options emailsys=smtp emailhost="my.smtp" emailport=25;

filename mymail email
   from="my_email_adress@mail.com"
   to="someone@mail.com"
   Subject="Test";
data _null_;
   file mymail;
   put "this is a test";
run;

nothing but classic things here but... the program is not working anymore while the exact same program works for other people in my organisation. The only difference between them and me?

 

Windows 10 for me

an older version of Windows for them

 

it's not a problem with the firewall... I turned of the firewall and it's doesn't work.

I tried other values for emailport (465, 587)  still not working..

 

The only message I have in my log is :

ERROR: E-mail : The connection has timed out.

 

any clue ?

 

best regards

 

Sébastien

1 REPLY 1
SR_FR
Obsidian | Level 7

A reply to myself

 

This is not a windows 10 problem.

 

To me, with SAS 9.4M6 (may be M5) something has changed and FILENAME SMTP is not working the way it used to work for decades...

 

still no clue? 😉

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 1 reply
  • 762 views
  • 0 likes
  • 1 in conversation