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 (September 1997, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 22 Sep 1997 14:27:33 +0500
Reply-To:     Bernard Tremblay <bernard@CAPITALE.QC.CA>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Bernard Tremblay <bernard@CAPITALE.QC.CA>
Subject:      Re: sasmailer script under 6.12

Hi,

Look at the script "sasmailer" in the !SASROOT/utilities/bin repertory. It is specified that it doesn't support the "attach". On the other hand, if your mail program support mime and elm, you could use "sasm.elm.mime" as your mail script instead.

If, as me, your mail program doesn't support MIME you still have some options:

1- If your file is a text file, send it with your message (or another message) as standard text (you may print a separator that you will recognise);

2- If your file is a binary file, first: uuencode it in a file and process file like a text file ... (first method). To obtain back the file you will have to uudecode it.

I hope this can help ???

Regards, Bernard Tremblay \\\|/// \\ - - // ( @ @ ) +------oOOo-(_)-oOOo----------+---------------------------------+ | Bernard Tremblay | | | La Capitale | Tel: (418) 646-2401 | | | Fax: (418) 646-5960 | | | Int: bernard@capitale.qc.ca | +-----------------------------+---------------------------------+ | Imaginasys enr | Res: (418) 878-4447 | | | Int: bertrem@quebectel.com | +---------------Oooo----------+---------------------------------+ oooO ( ) ( ) ) / \ ( (_/ \_) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>>From owner-sas-l@UGA.CC.UGA.EDU Mon Sep 22 09:20 EDT 1997 >>>Mime-Version: 1.0 >>>Date: Fri, 19 Sep 1997 14:46:44 -0400 >>>From: ir <ir@CNU.EDU> >>>Subject: sasmailer script under 6.12 >>>To: SAS-L@UGA.CC.UGA.EDU >>> >>>Version 6.12 SAS - UNIX/sendmail/mailx on AIX 4.2 >>> >>>After last week's discussions about sas email capability, I got it to send >>>mail using the Filename file email 'user@domain'; command. >>> >>>But I can't get the attachment option to work so I can attach output files >>>generated by Proc Printto. The /sas612/utilities/bin/sasmailer script >>>file specifically says: >>> >>>#This script cannot handle attachments from the ATTACH= option. If >>># attachments are needed, another script must be used. >>> >>>Has anyone successfully modified a script to accomodate the attach= >>>option? Thanks, >>> >>>Evan Davies >>>Director of Institutional Research >>>Christopher Newport University >>>Newport News, Virginia 23606 >>>757 594-7172


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