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.
Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.