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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: