[bglug] mail
giuliano
cortinovisgiuliano@tiscali.it
Mar 26 Gen 2010 19:30:45 CET
mi dà il seguente messaggio :
Jan 26 19:29:22 desktop sendEmail[3930]: WARNING - The argument after -s
was not the server!
Reading message body from STDIN because the '-m' option was not used.
If you are manually typing in a message:
- First line must be received within 60 seconds.
- End manual input with a CTRL-D on its own line.
Il giorno mar, 26/01/2010 alle 19.22 +0100, k|b|s ha scritto:
> On Tue, Jan 26, 2010 at 06:57:39PM +0100, giuliano wrote:
> > > --------8<---cut-here---8<---------
> > >
> > > ## /bin/bash
> > >
> > > FROM_MAIL="tuo.indirizzo@gmail.com
> > > TO_MAIL="indirizzo.destinatario@sito.it"
> > > SUBJECT="Il soggetto della mail"
> > > MESSAGE="messaggio.txt"
> > > MAIL_SERVER="smtp.gmail.com:587"
> > > MAIL_USER="username.di.gmail"
> > > MAIL_PWD="metti_qui_la_tua_password_di_gmail"
> > > COUNTER=0
> > > LIMIT=10
> > >
> > >
> > > while [ $COUNTER -lt $LIMIT ]; do
> > >
> > > /usr/bin/sendEmail -t $TO_MAIL -f $FROM_MAIL -u "$SUBJECT" -s
> > > $MAIL_SERVER -xp $MAIL_PWD -o tls=auto username=$MAIL_USER
> > > message-file=$MESSAGE
> > >
> > > let COUNTER=COUNTER+1
> > >
> > > done
> > >
> > > --------8<---cut-here---8<---------
>
> Pulito.
> Fai prima una prova sulla tua mail.
>
Maggiori informazioni sulla lista
bglug