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? 😉
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.