How do I remove borders around text lines and put a blank line between text in an automated ODS email?
My Code
OPTIONS EMAILSYS=SMTP
EMAILHOST="SMTP.Company.com";
FILENAME MyMail EMAIL TO=("Sally.J@Company.com")
SUBJECT="Testing Proc Report with colors"
TYPE="text/html";
ODS ESCAPECHAR='^';
ODS HTML BODY=MYMAil BODY=MyMail STYLE=HTMLBlue;
ODS TEXT="^S={FONT_SIZE=12PT} Good Morning:";
ODS TEXT="^S={FONT_SIZE=12PT} ";
ODS TEXT="^S={FONT_SIZE=12PT} The Directory Tree for &Companies. &Types. HAS STARTED running.";
TITLE; /*Clear TITLE*/
FOOTNOTE; /*Clear Footnote*/
%Report_Summary_Email(Notes)
ODS TEXT="^S={FONT_SIZE=12PT} Any questions, please reach out to Joseph.F@e.com or Sally.J@e.com.";
ODS TEXT="^S={FONT_SIZE=12PT} ";
ODS TEXT="^S={FONT_SIZE=12PT} Thanks,";
ODS TEXT="^S={FONT_SIZE=12PT} ";
ODS TEXT="^S={FONT_SIZE=12PT} Sally";
ODS HTML CLOSE;
I want a blank line after Good Morning and Thanks.
Thank you!
The company name is still visible.
Thanks, how do I edit this or delete it, to remove the company name? It tells me it's final.
Thank you!
If you want to force a line break in HTML, try adding <BR> tags in the text.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.