DATA Step, Macro, Functions and more

Formatting email text in SAS email

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 5
Accepted Solution

Formatting email text in SAS email

Hello all,

 

Is there any way to change the appearance of part of the text in email using SAS email. I was able to send the email but was trying to bold/change font color for word 'SAS' so that the text at the receiver should look like the text below. No ODS involved, so don't think I can use style elements.

 

  This email is sent using SAS

 

Any help is much appreciated.

data _null_;
  file myemail;

	put "This email is sent using SAS";
run;
 
filename myemail clear;

 


Accepted Solutions
Solution
‎10-17-2017 01:13 PM
Super User
Super User
Posts: 7,988

Re: Formatting email text in SAS email


All Replies
Solution
‎10-17-2017 01:13 PM
Super User
Super User
Posts: 7,988

Re: Formatting email text in SAS email

You would send the email using HTML:

http://support.sas.com/resources/papers/proceedings10/060-2010.pdf

Page 4 of 8.

Occasional Contributor
Posts: 5

Re: Formatting email text in SAS email

Thanks RW9. Looks like I can use all the html tags by changing the email type to HTML.
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 127 views
  • 0 likes
  • 2 in conversation