Date: Fri, 20 Jun 2003 13:43:06 -0500
Reply-To: Sterling Price <Sterling.Price@WAL-MART.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Sterling Price <Sterling.Price@WAL-MART.COM>
Subject: display graphic image in e-mail using ODS?
Content-Type: text/plain; charset="iso-8859-1"
Greetings all,
I'm trying to develop a graph that will be e-mailed to its audience, all of
whom are on our network and using Outlook. The graph is generated as a GIF
on MVS. Rather than mailing the graph to all users, I'd like to keep it on
a web server and display it within Outlook using either a simple <img> tag
or within an I-frame (not sure if the latter is possible within Outlook, but
it's worth a try).
My question is - can I somehow use ODS within a datastep to write the HTML
that will render the graph in Outlook either using an IMG tag or within an
I-frame? I'd like to have the graph display directly in the e-mail message
rather than being an attachment that must be clicked on.
What I want to do is something like this, except have the GIF actually be
displayed in Outlook (which isn't happening now, I'm just getting a blank
page).
filename temp email to="ssprice@myaddress.com"
subject="Daily Graph"
type="text/html";
ods html body=temp;
data _null_;
put
"<img src='http://mywebserver/images/mygraph.gif'>";
run;
ods html close;
Is there a way to do this?
Thanks,
Sterling Price
**********************************************************************
This email and any files transmitted with it are confidential
and intended solely for the individual or entity to
whom they are addressed. If you have received this email
in error destroy it immediately.
**********************************************************************
Wal-Mart Stores, Inc. Confidential
**********************************************************************