DATA Step, Macro, Functions and more

SAS & Lotus Notes functionality - automation of emails

Reply
Learner _Jn
Learner
Posts: 1

SAS & Lotus Notes functionality - automation of emails

Hi,

 

I am trying to send an email from Lotus Notes using SAS. The code partially works in that it opens an email populates it correctly but does note send without manual intervention (i.e. clicking send!)

 

I've looked at a few other questions of a similar nature but so far no luck.

 

Any ideas?

Thanks

 

Code:

 

OPTIONS EMAILSYS = MAPI

EMAILHOST = "Server"

EMAILID = "Email Address"

EMAILPW = "Password";

OPTIONS NOXWAIT;

 

FILENAME mymail EMAIL To = "Email Address"

SUBJECT = "Test SAS Emails";

DATA _NULL_;

FILE mymail;

PUT "Test";

RUN;

 

 

Super User
Posts: 3,252

Re: SAS & Lotus Notes functionality - automation of emails

Does adding an explicit send help?

 

put '!em_send!';
Ask a Question
Discussion stats
  • 1 reply
  • 178 views
  • 0 likes
  • 2 in conversation