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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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