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;
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
Then you need to have it done by someone with administrator permissions.
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.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.