Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2007 15:05:56 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        L Goodwin <xrayv19@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Configuring FreeBSD 6.2 to use sendmail for sending only
Message-ID:  <20070831120556.GA3016@kobe.laptop>
In-Reply-To: <581127.21315.qm@web58114.mail.re3.yahoo.com>
References:  <20070831004319.GA91203@kobe.laptop> <581127.21315.qm@web58114.mail.re3.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2007-08-30 18:03, L Goodwin <xrayv19@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 ...




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070831120556.GA3016>