Urgent! Attacher un fichier sous Unix

elmehdi Messages postés 7 Statut Membre -  
 dimitri -
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

2 réponses

  1. Haiti
     
    Hello,

    SMTP cannot send binary data, ASCII only.

    So you just have to do this :

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