Date: Thu, 1 Dec 2005 08:17:42 -0800
Reply-To: "Pardee, Roy" <pardee.r@GHC.ORG>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Pardee, Roy" <pardee.r@GHC.ORG>
Subject: Re: Outlook E-mail change from line
Content-Type: text/plain; charset="us-ascii"
From the 9.1 help:
To specify the recipient's name along with the address,
enclose the address in angle brackets (<>), as follows:
to="Joe Smith <joe@somplace.org>"
That's probably worth a try...
HTH,
-Roy
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
Chris Smith
Sent: Wednesday, November 30, 2005 2:17 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Outlook E-mail change from line
Using SAS 8.2, I am sending automated emails using the null datastep,
but I want to change the "from" from my own name to a generic name for
my group.
Is this possible? Here's my code.
filename outbox email;
data _null_;
file outbox to=('X@Y.com')
cc=('A@Y.com')
subject='SAS Output'
attach=("C:\SAS Temp\Test.xls");
put 'Your report';
put 'Attachments: Excel file';
run;
The from line says 'X@Y.com'...I want it to say 'Marketing'
|