[Linux-bruxelles] Raccourci Mail

Gaëtan Frenoy gaetan at frenoy.net
Sam 31 Jan 16:23:59 CET 2004


AB> [...mail avec fichier attaché...]
AB> Donc, comment écrire un petit script qui envoie ce mail 
AB> sur un simple clic?

AB> j'ai été voir un peu Sendmail, et je m'y perds.

 Même constat ici, j'ai finalement utilisé "metasend" comme suit[1]:

  metasend -b -F "$MAIL_FROM" -t "$RCPT_LIST" -s "$MAIL_SUBJECT" 
           -S 300000 -e 7bit -m text/plain -f "$INTO_TEXTFILE"
           -D "Intro" -n -e base64 -m application/pdf
           -f "$PDF_FILE_TO_SEND"

 Ne me demande pas à quoi servent tous ces paramètres, j'ai
 oublié depuis longtemps mais je les trouvés dans le man.

 Bàt.


[1] Aux typos près, il fait partie d'un script plus long.

-- 
Gaëtan Frenoy (gaetan [à] frenoy.net)
-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: non disponible
Type: application/pgp-signature
Taille: 187 octets
Desc: non disponible
URL: </pipermail/linux-bruxelles/attachments/20040131/811cffb6/attachment-0001.sig>


Plus d'informations sur la liste de diffusion Linux-bruxelles