Date: Wed, 14 Jan 2004 23:38:54 -0800
Reply-To: Stig Eide <stigeide@YAHOO.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Stig Eide <stigeide@YAHOO.COM>
Organization: http://groups.google.com
Subject: Re: Sending email in SAS
Content-Type: text/plain; charset=ISO-8859-1
Here is a SAS Note that describes how to send HTML emails using SMTP:
http://support.sas.com/techsup/unotes/SN/006/006735.html
Basically, you need to put these in config file:
-emailsys SMTP
-emailhost mailserver.host
Then this example worked for me:
filename temp email to="me@mail.com"
subject="testing the email interface"
type="text/html";
ods html body=temp;
proc print data=sashelp.class;
run;
ods html close;
JackHamilton@FIRSTHEALTH.COM (Jack Hamilton) wrote in message news:<s00527e1.002@SLCM02.firsthealth.com>...
> This is an Outlook problem, not a SAS problem.
>
> Do you have an SMTP server available? If you're at a university you
> almost certainly do. Ask your help desk or user support department how
> to get to it. SAS can send email via SMTP, but it doesn't seem to be
> well documented. There are some examples in the archives.