From owner-freebsd-questions Sat Aug 10 3:54:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FAA437B400 for ; Sat, 10 Aug 2002 03:54:48 -0700 (PDT) Received: from post.webmailer.de (natwar.webmailer.de [192.67.198.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id C62D443E5E for ; Sat, 10 Aug 2002 03:54:46 -0700 (PDT) (envelope-from barwick@gmx.net) Received: from ianb.local (pD9517539.dip.t-dialin.net [217.81.117.57]) by post.webmailer.de (8.9.3/8.8.7) with ESMTP id MAA14656; Sat, 10 Aug 2002 12:54:11 +0200 (MEST) Content-Type: text/plain; charset="iso-8859-1" From: Ian Barwick To: Pavan Balaji , freebsd-questions@freebsd.org Subject: Re: Command line mail program Date: Sat, 10 Aug 2002 12:55:43 +0200 X-Mailer: KMail [version 1.4] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200208101255.43615.barwick@gmx.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Saturday 10 August 2002 12:46, Pavan Balaji wrote: > Is there some mail program using which I can send mails from command li= ne > (unlike pine). The only ones I use are mail, rmail and sendmail and I > don't think (not sure though) they allow us to specify the subject, CC > addresses etc. > > Any ideas? mail offers a variety of command line options, e.g. cat mail.txt | mail -s "My email" someone@example.com will produce a mail with the subject "My email". See man mail for further details. Ian Barwick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message