Configuring FreeBSD 6.2 to use sendmail for sending only
Giorgos Keramidas
keramida at ceid.upatras.gr
Fri Aug 31 05:36:04 PDT 2007
On 2007-08-30 18:03, L Goodwin <xrayv19 at yahoo.com> wrote:
> Um... I just want to pass an email message (complete
> with From, To, Subject and message body) to a mail
> handler (sendmail), as I stated in the original post.
>
> Anyway, Chuck kindly provided sample code. The only
> thing I'd like to do differently is to not use a temp
> file to store the message. Otherwise, I'm happy.
Ah, sorry about the misunderstanding then. I think all
you need is something along the lines of:
( command1 ; command2 ) | mail -s "subject" recipient1 ...
More information about the freebsd-questions
mailing list