Hi where can i put text to show in the mail in this code. I have tried somethings but doesnt work:
filename sendmail email to=("test@he.dk")
from=("test@he.dk")
attach=("F:\pic1.png" ct ='png')
attach=("F:\pic2.png" ct ='png')
attach=("F:\pic3.png" ct ='png')
type='text/html' subject="test";
ods html body=sendmail;
ods html text = '<img src="pic1.png""></img>';
ods html text = '<img src="pic2.png""></img>';
ods html text = '<img src="pic3.png""></img>';
ods noproctitle;
ods noptitle;
title;
ods html close;
ods listing;
I think you would be better off using a DATA step for this. Check out the examples on the FILENAME EMAIL docs page.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.