Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Aug 2002 12:55:43 +0200
From:      Ian Barwick <barwick@gmx.net>
To:        Pavan Balaji <balaji@cis.ohio-state.edu>, freebsd-questions@freebsd.org
Subject:   Re: Command line mail program
Message-ID:  <200208101255.43615.barwick@gmx.net>
In-Reply-To: <Pine.GSO.4.40.0208100643560.28103-100000@delta.cis.ohio-state.edu>
References:  <Pine.GSO.4.40.0208100643560.28103-100000@delta.cis.ohio-state.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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