RE: sending mail from application on SuSe

"Danny De Koster" <[email protected]>
Newsgroups gmane.comp.lang.4gl.fourjs.user
Message-ID <[email protected]>
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.

Any solution?

Met vriendelijke groeten / Sincères salutations / Kind regards,
 

Danny De Koster

 



 


-----Oorspronkelijk bericht-----
Van: [email protected] [mailto:[email protected]] Namens
Walter Haslbeck
Verzonden: donderdag 29 september 2005 15:11
Aan: [email protected]
Onderwerp: Re: [fourjs-users] sending mail from application on SuSe

Hi,

> I’m looking for a tool to send easily mails and attachements from our 
> application. Anybody using such a tool ?

mutt!

usage is simple:

e.g. RUN "mutt -s"Subject" -aAttachment.doc user@domain < textfile"

because mutt reads the mailbody from STDIN, you can pipe a report to mutt:

...
START REPORT myreport TO PIPE "mutt -s'Your Report' user@domain"
...

hth,
Walter
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.