From owner-freebsd-questions Thu Sep 23 10: 3:17 1999 Delivered-To: freebsd-questions@freebsd.org Received: from aag.alaskaair.com (gromit.alaskaair.com [159.49.42.200]) by hub.freebsd.org (Postfix) with SMTP id 181F414E6E for ; Thu, 23 Sep 1999 10:02:58 -0700 (PDT) (envelope-from elazich@AlaskaAir.com) Received: from GROMIT.alaskaair.com by aag.alaskaair.com via smtpd (for hub.FreeBSD.org [204.216.27.18]) with SMTP; 23 Sep 1999 17:06:25 UT Received: from asnasta (asnasta.alaskaair.com [159.49.42.21]) by gromit.alaskaair.com (8.9.3/8.9.3) with SMTP id KAA28486; Thu, 23 Sep 1999 10:00:08 -0700 From: elazich@AlaskaAir.com To: river@theriver.nu Cc: questions@freebsd.org Date: Thu, 23 Sep 1999 10:03:09 -0700 Subject: Re: Automailing a file fron cron Message-ID: References: <21DC5E98AE1FD311B1290020AFDB6C6E6419@cx288885-b.okcs1.ok.home.com> Organization: Alaska Airlines MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit Content-ID: X-Gateway: NASTA Gate 2.0 for FirstClass(R) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Check out Perl's Mail::Sender module. Eli river@theriver.nu writes: >I am attempting to automail a file as an attachment. >I have been able to automail the contents of a file with the following >command line: >mail -s 'TESTMAIL' user@mydomain.com < /tmp/file.to.send >but of course this wont work with a tarball, I need to be able >to "attach" the file rather than its contents... >I checked the man page for mail and it doesnt specify any swtich >for attaching a file.....is there a way to do this ? >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message