06-14-2017 12:51 AM
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
CALL SYMPUT('maxdate',put(MAX_of_DATE_OF_EFFECT, datetime8.));
FILENAME outbox EMAIL ("xxxxx.xxx.");
from = "xxx.com"
SUBJECT=("Lendnet &maxdate ");
PUT "On &maxdate ";
06-14-2017 02:25 AM
06-14-2017 04:20 AM
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.