HI. I am looking for help with a current challenge. Hopefully this is an easy request. I can send emails with an html table in the body and I can seen emails with attachments and text in the body, but I have not found a way to combine both of these. I would like to send a email that has a summary table and comments in the body with an attachment or attachments. Thank you for your help. PS. this is for a 9.3 environment running in linux Here is my sample code. /*email 1 attachment and text*/ FILENAME mymail EMAIL Attach="/appl/users/adminreports/exports/pdf/EarlyWarningTest.pdf" from=("DoNotReply@email.com") to=("user@email.com") cc=("" ) subject="Early Warning Trends"; data _null_; file mymail; put 'This is a test.'; run; quit; /*Email 2 html table*/ FILENAME mymail EMAIL to=("user@email.com") from=("DoNotReply@whirlpool.com") subject="Early Warning Trends" CONTENT_TYPE="text/html"; ODS LISTING CLOSE; ODS HTML BODY=mymail; PROC PRINT DATA=work.FLAGS_ALERT_1_TEST_2; RUN; ODS HTML CLOSE; ODS LISTING;
... View more