The SAS Output Delivery System and reporting techniques

FILENAME EMAIL changes in 9.3?

Reply
Contributor
Posts: 21

FILENAME EMAIL changes in 9.3?

I have a job that generates an e.mail where the results are displayed in the body of the e.mail in HTML, and it worked fine in 9.2, but now in 9.3, the e.mail is rendered as the raw HTML text, and not as actual markup language.  I upgraded to Windows 7 and SAS v9.3 at the same time, and can't determine what might have changed.  My 9.2 mainframe e.mails still render correctly, and I use the same basic code:

FILENAME OUTBOX EMAIL...;

ODS HTML BODY=OUTBOX STYLE=SASWeb rs=NONE;

Any thoughts on why the e.mails are rendering differently in Outlook 2010 in 9.3 vs 9.2?

Thanks in advance,

kjk

SAS Employee
Posts: 25

FILENAME EMAIL changes in 9.3?

You want to add the CONTENT_TYPE (CT) option to the filename statement:

filename foo email to="" from="" subject="" CONTENT_TYPE="text/html" ;

Contributor
Posts: 21

FILENAME EMAIL changes in 9.3?

Thanks...I shouldn't have truncated my FILENAME statement so severely.  I did have TYPE='text/html' specified, and still just end up with raw text.

Super Contributor
Posts: 276

FILENAME EMAIL changes in 9.3?

you can use ct='text/html' instead of CONTENT_TYPE..

off-course both are same..

ct is short form of CONTENT_TYPE...

Ask a Question
Discussion stats
  • 3 replies
  • 418 views
  • 0 likes
  • 3 in conversation