Uuencode-fedora-ssmtp
cazersose
-
dark-knight -
dark-knight -
Bonjour,
voila j'ai telecharcger un utilitaire qui peut envoyer des mails en ligne de commande mais mon souci c une pieces jointe que j'arrive pas a attacher ok ; le mail marche qui veut dire j'arrive a envoyer des mail mais la piece jointe non voila mon shell
#-------------------------------+
# Configuration de la messagerie|
#-------------------------------+
MAIL_FROM="toto@free.fr"
MAIL_TO="tata@gmail.com"
#MAIL_CC="toto1@free.fr"
MAIL_HOST="smtp.free.fr"
#------------------------+
# Variables de traitement|
#------------------------+
DATE=`date +%F`
CONTENU=''
TEMP="email_repor.res_$DATE"
#-------------------------------+
# Generation du corps du message|
#-------------------------------+
echo "From: $MAIL_FROM" > $TEMP
echo "To: $MAIL_TO" >> $TEMP
echo "Cc: $MAIL_CC" >> $TEMP
echo "Subject: Extraction quotidienne du reporting $DATE" >> $TEMP
echo "" >> $TEMP
echo "$CONTENU" >> $TEMP
echo "" >> $TEMP
echo "/usr/bin/gmime-uuencode /home/arnaud/BDD/java/sript/output.xls output.xls " >>$TEMP
#-----------------+
# Emission du mail|
#-----------------+
/usr/sbin/ssmtp -f $MAIL_FROM -t <$TEMP
# rm -f $TEMP
j'utilise fedora 8.00
mais sa marche merci de votre aide d'avance
voila j'ai telecharcger un utilitaire qui peut envoyer des mails en ligne de commande mais mon souci c une pieces jointe que j'arrive pas a attacher ok ; le mail marche qui veut dire j'arrive a envoyer des mail mais la piece jointe non voila mon shell
#-------------------------------+
# Configuration de la messagerie|
#-------------------------------+
MAIL_FROM="toto@free.fr"
MAIL_TO="tata@gmail.com"
#MAIL_CC="toto1@free.fr"
MAIL_HOST="smtp.free.fr"
#------------------------+
# Variables de traitement|
#------------------------+
DATE=`date +%F`
CONTENU=''
TEMP="email_repor.res_$DATE"
#-------------------------------+
# Generation du corps du message|
#-------------------------------+
echo "From: $MAIL_FROM" > $TEMP
echo "To: $MAIL_TO" >> $TEMP
echo "Cc: $MAIL_CC" >> $TEMP
echo "Subject: Extraction quotidienne du reporting $DATE" >> $TEMP
echo "" >> $TEMP
echo "$CONTENU" >> $TEMP
echo "" >> $TEMP
echo "/usr/bin/gmime-uuencode /home/arnaud/BDD/java/sript/output.xls output.xls " >>$TEMP
#-----------------+
# Emission du mail|
#-----------------+
/usr/sbin/ssmtp -f $MAIL_FROM -t <$TEMP
# rm -f $TEMP
j'utilise fedora 8.00
mais sa marche merci de votre aide d'avance
A voir également:
- Uuencode-fedora-ssmtp
- Fedora ou debian - Guide
- Fedora live usb creator - Télécharger - Utilitaires
- Lecture image.dcm sous fédora - Forum Fedora
- Paint.net sur Fedora Project - Forum Debian
- Problème wi-fi sous fedora ✓ - Forum Fedora