BookmarkSubscribeRSS Feed
hk186002
Calcite | Level 5

Hi All,

 

I have a wierd issue now.

 

I was able to send the maxdate value from the dataset to lotus notes which is configured in our environment and I am getting the value from the below code to the mail body however it doesnt send the mail automatically. Mail just opens and stays I had to manually press the send button. Is there anything else I have to add in the code? I have attached the screenshot whcih is the output of the below code. How can I make sure it sends the mail automatically

 

I was able to 

 

DATA _null_;
SET WORK.Maxlendnetdate;
CALL SYMPUT('maxdate',put(MAX_of_DATE_OF_EFFECT, datetime8.));

run;

FILENAME outbox EMAIL ("xxxxx.xxx.");
DATA _NULL_;
FILE outbox
TO=("hari.kurupati@cba.com")
from = "xxx.com"

SUBJECT=("Lendnet &maxdate ");
PUT "On &maxdate ";

RUN;

 

 


output.jpg
4 REPLIES 4
sandykota
Obsidian | Level 7

Hi,

 

Hope this link helps:

 

http://support.sas.com/kb/17/744.html

 

 

hk186002
Calcite | Level 5

Hi Sandykota,

 

thanks for the reply but seems that I do not have access to change th file however its asking me to save with diffrent name.


Regards,

Hari

BrunoMueller
SAS Super FREQ

Depending on the SAS version you use, these options can also be set using the OPTIONS statements.

 

options
  emailhost="emailhost.a.b.c"
  emailsys=smtp
;

Give it a try.

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!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 4 replies
  • 772 views
  • 0 likes
  • 4 in conversation