Salut Anne,
On Tue, 2006-07-18 at 03:06, anne aublanc wrote:
> bonjour,
>
> Je recherche un script bash pour envoyer un mail avec pièce jointe (gif, pdf ou mp3)
Installe uuenview (apt-get install uudeview), puis
...
(
# write the mail
echo "\
Date: `date`
To: $VOICEMAILSTO
Subject: $u_msg1 $callnumber ($callname) - `date`
From: $from
#$u_msg1 $callnumber ($callname) - `date`
$u_msg4
$u_msg2 $callnumber
$u_msg3 $callname ($name)
"
) | uuenview -b -a $fichier_a_attacher | $mailer
Xav