From owner-freebsd-questions Tue Sep 28 2:52:41 1999 Delivered-To: freebsd-questions@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id A82B814D6A for ; Tue, 28 Sep 1999 02:52:37 -0700 (PDT) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.02 #1) id 11Vtvm-000OXe-00; Tue, 28 Sep 1999 11:52:18 +0200 From: Sheldon Hearn To: slava revutchi Cc: freebsd-questions@FreeBSD.ORG Subject: Re: how to use sendmail on an command line? In-reply-to: Your message of "Tue, 28 Sep 1999 12:37:44 +0300." Date: Tue, 28 Sep 1999 11:52:18 +0200 Message-ID: <94341.938512338@axl.noc.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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