Hi:
I'm not sure that it's a SAS issue at all. Some email servers can be configured to send plain text only -- in fact, some email administrators disable the creation of either sending or receiving HTML files in favor of sending and receiving plain text only.
This web site has an interesting discussion of the pros/cons of plain text vs HTML and some history on the issue:
http://mailformat.dan.info/body/html.html
One thing that I frequently do is send a mail message in plain text format, but then send my report as an attachment in HTML form (or RTF form or PDF form).
[pre]
/*
This method sends the HTML files as attachments using
the FILENAME statement with the EMAIL device. This method
does not require SMTP as the mail server.
It does popup the Outlook box on windows.
*/
ods html body='c:\temp\class.html' style=sasweb;
proc print data=sashelp.class;
title 'Emailed This ODS HTML File';
run;
ods html close;
filename doemail email
to=('person1@comcast.net' 'person2@sas.com' 'person3@sas.com')
from='me.myself_and_I@sas.com'
cc=('person4@gmail.com' 'person5@sas.com')
subject='Testing attach of ODS html output'
attach='c:\temp\class.html';
data _null_;
file doemail;
put 'This is a test email with attachment.';
put 'It is the ABC Report in HTML format.';
put 'Thanks!';
run;
[/pre]
cynthia