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 (February 2007, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 7 Feb 2007 10:22:14 +1300
Reply-To:     candr.templer@XTRA.CO.NZ
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Robin Templer <candr.templer@XTRA.CO.NZ>
Subject:      Re: SAS Email
Comments: To: toby dunn <tobydunn@HOTMAIL.COM>
Content-Type: text/plain; charset=utf-8

I think that you need to add the following after the filename statement:

Data _n ull_ ; File outbox; Put 'Body text - or whatever you want - or nothing at all' ; run ;

---- toby dunn <tobydunn@HOTMAIL.COM> wrote: > Try: > > options emailsys=smtp; > > filename outbox email "big.jerk@abc.com" > > subject="P03471 CSV File" > > attach = "/clinprog/s054031/p03471/output/p03471_&sysdate..csv" > > ct ="application/csv" ; > > run; > > > > > > Toby Dunn > > To sensible men, every day is a day of reckoning. ~John W. Gardner > > The important thing is this: To be able at any moment to sacrifice that > which we are for what we could become. ~Charles DuBois > > Don't get your knickers in a knot. Nothing is solved and it just makes you > walk funny. ~Kathryn Carpenter > > > > > > > From: "Sridhar, Nagakumar" <nagakumar.sridhar@SPCORP.COM> > Reply-To: "Sridhar, Nagakumar" <nagakumar.sridhar@SPCORP.COM> > To: SAS-L@LISTSERV.UGA.EDU > Subject: SAS Email > Date: Tue, 6 Feb 2007 16:01:29 -0500 > > Hi All: > > Would you know what is wrong with this piece of code: > > options emailsys=smtp; > > filename outbox email("big.jerk@abc.com") > > subject="P03471 CSV File" > > attach=("/clinprog/s054031/p03471/output/p03471_&sysdate..csv" > > ct="application/csv"); > > run; > > > I am trying to send an email to myself (Yep, I have been told I'm a BIG > JERK but that's nothing new!!) with an attachment and while it doesn't > generate any errors, the email doesn't happen. > > Thanks and regards > > Kumar > > > ********************************************************************* > This message and any attachments are solely for the > intended recipient. If you are not the intended recipient, > disclosure, copying, use or distribution of the information > included in this message is prohibited -- Please > immediately and permanently delete. > > _________________________________________________________________ > Invite your Hotmail contacts to join your friends list with Windows Live > Spaces > http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us


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