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
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? 😉
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.