RE: sending mail from application on SuSe

Bernd Gollesch <[email protected]>
Newsgroups gmane.comp.lang.4gl.fourjs.user
Message-ID <[email protected]>
At 17:15 29.09.2005, you wrote:
>Thanks for the tip! But....is there a way not to jump into an editor
>
>The command I execute is  mutt -s "my fyle" -a /etc/inittab
>[email protected]

I think it needs a mail body.

For an empty body just add " < /dev/null" eg:
mutt -s "my fyle" -a /etc/inittab [email protected] < /dev/null

should work without interaction.


mit freundlichen Grüßen, Ing. Bernd Gollesch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ AIT - Angewandte Informationstechnik Forschungsgesellschaft mbH ~
~           Klosterwiesgasse 32/I; A 8010 Graz; Austria           ~
~           Tel: +43.316.835359; Fax: +43.316.835359-75           ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.