Re: fichier attache /ligne de commande
On Fri, Jun 08, 2001 at 11:27:41AM +0200, christian dare wrote:
> Bonjour,
> j ai besoin d envoyer a une centaine d etudiants leur releve de notes en
> fichier attache au format excel .
>
>
> J utilise exim comme MTA et metasend pour envoyer mes mails .
> je tape donc :
> metasend -b -f notes1.xls -s "test envoi fichier" -t moi@mailhost -S
> 50000000 -m application/vnd.ms-excel -e "base64"
> En reponse j ai:
> Illegal content-type specification: application/vnd.ms-excel
> The character '.' (ASCII 46) is illegal in a MIME content-subtype.
>
> D apres la RFC2045 , ce type mime existe bien en theorie pourtant ?
>
> Quelqu un pourrait il m eclairer ?
> Je suis tout pres a utiliser autre chose que metasend , pour envoyer un
> message avec fichier attache en ligne de commande .
>
heu, mutt ?
mutt -s "test envoi fichier" -a notes1.xls moi@mailhost < /dev/null
A+
--
Bertrand Orvoine
I.U.P - Universite De Bretagne Sud mailto:Bertrand.Orvoine@univ-ubs.fr
2 rue le Coat Saint Haouen Tel: 02 97 88 05 35
BP 92116 Fax: 02 97 88 05 51
56321 LORIENT CEDEX
Reply to: