<<< Date Index >>>     <<< Thread Index >>>

Re: mutt



On 2004-06-18, Israel Tena <itena@xxxxxxxxxxxxx> wrote:
> It is posible send an e-mail with a shell script directly?
> 
> I try with:
>     #mut -x -a/tmp/pru.htm -i/tmp/prueba -sPrueba itena@xxxxxxxxxxxxx
> 
> but appears:
>         To: itena@xxxxxxxxxxxxx
>         (End message with a . on a line by itself)
>            .

Yes.  Read the message body from stdin rather than by using -i:

    mutt -x -a/tmp/pru.htm -sPrueba itena@xxxxxxxxxxxxx < /tmp/prueba

Also, questions of usage, like this one, should really be posted to
the mutt-users list rather than to mutt-dev.

Gary

-- 
Gary Johnson                               | Agilent Technologies
garyjohn@xxxxxxxxxxxxxxx                   | Wireless Division
http://www.spocom.com/users/gjohnson/mutt/ | Spokane, Washington, USA