DATA Step, Macro, Functions and more

[SAS 9.2, Windows XP]Issue sending lotus notes email with SAS

Reply
Contributor
Posts: 36

[SAS 9.2, Windows XP]Issue sending lotus notes email with SAS

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.
Super Contributor
Super Contributor
Posts: 3,174

Re: [SAS 9.2, Windows XP]Issue sending lotus notes email with SAS

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
Contributor
Posts: 36

Re: [SAS 9.2, Windows XP]Issue sending lotus notes email with SAS

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
Ask a Question
Discussion stats
  • 2 replies
  • 271 views
  • 0 likes
  • 2 in conversation