Urgent! Attacher un fichier sous Unix

elmehdi Messages postés 7 Date d'inscription   Statut Membre Dernière intervention   -  
 dimitri - 15 déc. 2007 à 12:02
Bonjour,
Je voudrais savoir comment je peux attacher un fichier à un mail sous unix sans utiliser un utilitaire (par exemple : Kmail sous Linux) ; je veux faire un script en Bourne Shell pour envoie de mail avec fichier attacher...
Merci

Ingénieur Informatique & Télécoms
Tel: +21266101752
A voir également:

2 réponses

Haiti
 
Hello,

SMTP cannot send binary data, ASCII only.

So you just have to do this :

mailx -s "Subject:" @mail.net < file.txt
.
0
dimitri
 
bonjour
ca marche pas !
aider moi svp
0