We have a similar need, but our solution might not suit your needs because we could not figure out how to imbed the images in the email message itself. We instead put the images on a web server and then created an HTML document that contained references to these images. The email was then created using a email file with the type='text/html' option and the html was written to it.
filename SendMail email to=("
[email protected]")
from='joe.shmoe@anywherecom'
type='text/html'
subject="Here is my email";
data outfile;
length line $ 4000;
infile "c:\MyHTMLBaseEmal.html" lrecl=4000 TRUNCOVER;
input line $ 1 - 4000;
run;
data _null;
file SendMail;
set outfile;
put line;
run;
The user gets an email with the images shown inline, but they may need to click something autorizing their email client to download the images.
Message was edited by: Curtis Mack