Re: mail con allegato da linea di comando
Il giorno mar, 08-02-2005 alle 09:27 +0100, Lucio ha scritto:
> Ciao gente!
>
> POTD: da server woody voglio spedire una mail con un allegato da cron.
> Quello che faccio ora è mettere uno script in crontab che fa:
>
> cat $ATTACHMENT | uuencode -m /dev/stdout | mail -s "Subject" lcml@pixel.it
mpack
DESCRIPTION
The mpack program encodes the the named file in one or more MIME
messages. The resulting messages are mailed to one or more recipients,
written to a named file or set of files, or posted to a set of
newsgroups.
--
Dodiesis <dodiesis@sgrunt.net>
Sgrunt.net
Reply to: