-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 13 Jan 2003 19:11:37 +0100 (CET), Jorge Luis Hernández Valdivia
wrote:

> I'm trying to send emails with attachments:
> 
> # mutt -s subject -a file mylocal@host < mensaje.txt
> 
> but when I use this, mutt starts making some questions
> (mail to, subject, attach file, etc) when it supose
> the mail to be sent without question.
> It seems to be that the "vi" text editor runs up.
> Finally the email doesn't find the route to left, I
> don't if I need to configurate something else.
> 
> Who can tell how to send the email correctly.

The trick with Mutt is to use an empty pipe when mailing in
non-interactive mode. In your example:

  $ cat /dev/null | mutt -s subject -a file mylocal@host < mensaje.txt

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+Iw5W0iMVcrivHFQRAgkjAJ4zx+8tqMSLk23weMZwSp2PzoKTFACfYmof
IsV16Fkrm5iVt/+tkmG8XxQ=
=Rsrg
-----END PGP SIGNATURE-----



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to