Olá,

Podes fazer o seguinte:

send_message()
{
cat <<END > $TEMP1
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject <[EMAIL PROTECTED]>: Report Reparenting
Content-type: text/html
END

cat $LOG >> $TEMP1
/usr/lib/sendmail -oi -t < $TEMP1

}

sendo $TEMP1 um arquivo temporario
e $LOG o arquivo de log do teu script

Att.,
-- 
José Paulo de Oliveira Petry
[EMAIL PROTECTED]


[As partes desta mensagem que não continham texto foram removidas]

Responder a