Bruno Ferreira Viana wrote:
> 
> Galera,
> 
> Estou tentando enviar um e-mail via um script, mas n�o esta chegando o
> conte�do olha so como ele esta:
> 
> #!/bin/bash
> RESULT="/tmp/arq_texto"
> ASSUNTO="e-mail"
> 
> /usr/sbin/sendmail -F "${ASSUNTO}" [EMAIL PROTECTED] < ${RESULT}
> 
> # fim
> 
> Onde estou me passando???

        Bruno,

        Eu costumo fazer:

cat ${RESULT} | mailx -s "${ASSUNTO}" [EMAIL PROTECTED]


        Yann

--
[EMAIL PROTECTED]
www.veritel-solutions.com.br

-- 
GUS-BR - Grupo de Usu�rios Slackware - BR
http://www.slackwarebrasil.org/
http://www.linuxmag.com.br/mailman/listinfo/slack-users

Responder a