Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Sep 1999 11:52:18 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        slava revutchi <sl@zeus.dnt.md>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: how to use sendmail on an command line? 
Message-ID:  <94341.938512338@axl.noc.iafrica.com>
In-Reply-To: Your message of "Tue, 28 Sep 1999 12:37:44 %2B0300." <Pine.BSF.4.05.9909281231530.10591-100000@zeus.dnt.md> 

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 28 Sep 1999 12:37:44 +0300, slava revutchi wrote:

> I figured out how to set the sender with -f option and full name
> with -F. How do I include a subject? There is nothing said in the man
> page. Can I include my own lines in the header of the message?

Why not just stick the headers in the file, leaving a blank line between
the headers and the body, and then do this:

	cat somefile | /usr/sbin/sendmail -t

This is even simpler than the advice I sent you in private. ;-)

Later,
Sheldon.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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