LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (December 2005, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: Chris Smith <chrissmith@WWW.COM>
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'


Back to: Top of message | Previous page | Main SAS-L page