RE: sending mail from application on SuSe
"Walter Haslbeck" <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.fourjs.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, Danny De Koster ([email protected]) schrieb: > > 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] > > Pressing return the system propose me the parameters and doing only enter an > editor is opened in which we can make some notes. > > But we don't want interaction when we send a mail. read my last mail again: 'mutt' reads is mailbody from stdin, so you can either $ mutt -s "myfile" -a /etc/inittab user@domain < /dev/null to attach the file to a mail with an otherwise empty body or $ mutt -s "myfile" user@domain < /etc/inittab to include your (text-)file in the mailbody hth, Walter