Proc Gchart output in an Email

Reply
Contributor
Posts: 22

Proc Gchart output in an Email

I am unable to send a gchart output in a email body,i am using following code


filename message1 email....


ods html body=message1 stlye=normal;


proc gchart.......;

run;


ods html close;



Is there any other way Please suggest.

SAS Super FREQ
Posts: 8,868

Re: Proc Gchart output in an Email

Posted in reply to KarthikSrivasthav

Hi:

Aside from the fact that you have the STYLE option misspelled as STLYE, which won't work...

 

ODS HTML creates an <IMG> tag that points to the location of the image created by SAS procedures (whether you use SAS/GRAPH or whether you use ODS GRAPHICS). You cannot change how HTML works. So what is likely happening is that if anything is being generated, it is only the wrapper HTML and you may or may not see a red X when the mail is received.

This Tech Support note explains more:

43716 - SAS® does not currently support e-mailing graphics output where the graph is embedded in the...

cynthia

Ask a Question
Discussion stats
  • 1 reply
  • 425 views
  • 0 likes
  • 2 in conversation