Hi,
Could you please let me know the below code will work if sending the report to multiple users.
%let email_address = ("abc@xxxmail.com" "efg@xxxmail.com" "abc@xxxmail.com" "efg@xxxmail.com");
filename myemail EMAIL
to="&email_address"
subject="&subj"
content_type="text/html";
ODS LISTING CLOSE;
ODS HTML BODY = myemail (no_bottom_matter)
style=festival;
1. Not won't. See the documentation.
http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a002058232.htm
2. It's easier and faster to try than to ask. 🙂
3. Try to=&email_address
Thank you:) yes I have tried the suggested option but got error while running in autosys.
ERROR: Email: 550 5.0.0 Only pre-authorized systems may access this MTA.
what this mean? It is mail server issue? how it can be resolved?
did you try for TO="abc@gmail.com" just to be sure. i most likely you are correct. but also could be office mail servers blocking email to personal email ids
> what this mean? It is mail server issue? how it can be resolved?
It seems like the email server is rejecting your connection. Ask the admins to look in the log.
One possible reason is explained here http://forums.networkautomation.com/forum/messageview.cfm?catid=42&threadid=8808
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: