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
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
  • 2 replies
  • 1352 views
  • 0 likes
  • 2 in conversation