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

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

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