BookmarkSubscribeRSS Feed
jb9977
Fluorite | Level 6

Hi All,

 

I am trying to compose a mail which needs bold text, center justification and font color as blue. here is the code that i tried

 

data _null_;
   file sendmail; 
   put '<html>';
   put '<body>';
   put '< p style = "color: blue font-size: 14pt text-align: center"> Summary report </p> ';
   put '<p style = "color: blue font-size: 20pt text-align: center">Stagle 1</p>';
   put '<p style = "color: blue font-size: 10pt text-align: center">do not forward or distribute</p>';
  
   put '<img src=cid:email0>';


   put '</body>';
   put '</html>';
run;

 

This code is not working. Can someone help?

 

 

Thanks,

Jay

 

1 REPLY 1

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1214 views
  • 0 likes
  • 2 in conversation