Re: fedora-list Digest, Vol 4, Issue 29

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Message: 7 Date: Wed, 02 Jun 2004 19:03:40 +0200 From: Alexander Dalloz <alexander.dalloz@xxxxxxxxxxxxxxxx> Subject: Re: Emailing a file attachment w/ cron To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx> Message-ID: <1086195820.14612.46.camel@xxxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxx

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
---
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

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux