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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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