BookmarkSubscribeRSS Feed
phil27
Calcite | Level 5
Hello,
I have a mail server and a Lotus Notes 7 client.

I am trying to send an email with SAS.
I have modified my win.ini file according to the Lotus Notes known issue :
http://support.sas.com/kb/9/641.html

Submitting the following code :

[pre]
options
EMAILAUTHPROTOCOL=NONE
EMAILHOST="IP adress of the mail server"
EMAILID="MyFirtsName MyName/MyCompany-INTRANET"
EMAILPW="MyLotusNotesPassword"
EMAILSYS=VIM
;

filename courriel email
from="me@mycompany.fr"
to="myCollegue@mycompany.fr"
subject="test"
;

DATA _null_;
file courriel;
put 'This is a test';
run;

[/pre]

Provides the error : "Undetermined I/O error"

If I ty to use the EMAILSYS=SMTP option instead of VIM to use directly the SMTP server, this provides the error : "The timeout connection has expired".

Would you see what is wrong in my code ?

Thanks.
2 REPLIES 2
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Given the age of that SAS support note, I would question its currency / accuracy today.

Also, suggest you run the following SAS code - the OPTIONS statement you describe for the EMAILxxxx options, is only allowed at SAS start-up in the CONFIG or as a command-line option setting:

PROC OPTIONS GROUP=EMAIL;
RUN;

Scott Barry
SBBWorks, Inc.

Suggested Google advanced search argument, this topic / post:

send lotus notes email config site:sas.com Message was edited by: sbb
phil27
Calcite | Level 5
Thanks sbb,

I have added the following lines lines to the sasv9.cfg file :

[pre]options
-EMAILAUTHPROTOCOL=NONE
-EMAILHOST="IP adress of the mail server"
-EMAILID="MyFirtsName MyName/MyCompany-INTRANET"
-EMAILPW="MyLotusNotesPassword"
-EMAILSYS=VIM
;[/pre]

and the error does not occur no more. Message was edited by: phil27

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 884 views
  • 0 likes
  • 2 in conversation