fedora-list Digest, Vol 4, Issue 29

Paul Dubinsky pdubinsky at flxent.com
Thu Jun 3 00:46:24 UTC 2004


>
>Message: 7
>Date: Wed, 02 Jun 2004 19:03:40 +0200
>From: Alexander Dalloz <alexander.dalloz at uni-bielefeld.de>
>Subject: Re: Emailing a file attachment w/ cron
>To: For users of Fedora Core releases <fedora-list at redhat.com>
>Message-ID: <1086195820.14612.46.camel at serendipity.dogma.lan>
>Content-Type: text/plain; charset="us-ascii"
>
>Am Mi, den 02.06.2004 schrieb Paul Dubinsky um 15:00:
>
> > I'm using FC1 and I need to email a log file with cron. I'm currently 
> using
> > send but send takes the logfile and makes it the body of the email. I want
> > to send it as an attachment. I've Man'ed mail, send and post but none of
> > these explicitly handle attachments.
>
> > TIA,
> > Paul
>
>cat logfile | uuencode logfile | mail -s "this is a logfile attached" 
>recipient at domain.tld
>
>uuencode is part of the sharutils package.
>
>Alexander

Thx. Another  (Brian Beers) suggested essentially the same in a shell 
script. It worked perfectly.

Thanks, again,
Paul
-------------- next part --------------

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.692 / Virus Database: 453 - Release Date: 5/28/2004


More information about the fedora-list mailing list