BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
SamQ_
Calcite | Level 5

Hi all,

I'm actually using :

-SAS 9.2,

-IBM Lotus iNotes 8.5.3 FP4.

And I'm attempting to send an email, first by making a test, with the following code :

/*Beginning of the program*/

options emailhost="10.XXX.XXX.XX" emailid="employeeId" emailpw="mypassword" emailsys="MAPI";

FILENAME mymail EMAIL
    To= 'firstname.lastname@mycompany.com'   
    SUBJECT="This is a test" ;

DATA _null_;
    FILE mymail;
    PUT "Good Morning.";
    PUT " " ;

    PUT "This is a test." ;
RUN;

/*The END*/

My problems are :

-If my mailbox has not been opened yet, I am blocked on the login page.

-If my mailbox has already been opened, the email is created but not sent.

Since yesterday, i have tryed all that have found on internet :

-to modify sasv9.cfg (but {options emailhost="10.XXX.XXX.XX" emailid="employeeId" emailpw="mypassword" emailsys="MAPI";} in the SAS program makes the same),

-to put !EM_SEND! in the DATA step,

-... ,

but nothing makes my email automatically sent.

Thanks for any advice with this.

Sam Q.

1 ACCEPTED SOLUTION

Accepted Solutions
LinusH
Tourmaline | Level 20

SAS is sending emails through API, and not via client SW, so I don't understand what you mean by that your mail box is open or not?

Be sure that you emailhost host address points to the email server host.

Since this seems to be a connection problem, rather than a SAS one, I suggest that you start talk to the Lotus Notes admin people about your issue.

Data never sleeps

View solution in original post

1 REPLY 1
LinusH
Tourmaline | Level 20

SAS is sending emails through API, and not via client SW, so I don't understand what you mean by that your mail box is open or not?

Be sure that you emailhost host address points to the email server host.

Since this seems to be a connection problem, rather than a SAS one, I suggest that you start talk to the Lotus Notes admin people about your issue.

Data never sleeps

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 1 reply
  • 1848 views
  • 1 like
  • 2 in conversation