Subject: Re: maybe OT: sendmail subject
To: None <netbsd-users@netbsd.org>
From: None <vodka@intoxicate.us>
List: netbsd-users
Date: 07/17/2002 19:55:32
I need to be able to specify a subject and a "from".  I need to use -F and
-f that sendmail has.  I don't think there's a way to sepcify a "from"
field in mail(1).  Basically I want something like:

echo "account has been created and is ready to use" | mail -subject
"Account Information" -from "User Services" <my@email.address>

The from mail address will be external to the system, that is, it's not
the same user/domain of the system.

Thanks

> Use the mail(1) command. Or pipe the "Subject:" into sendmail.
>
> If you need more help, show us what you are trying to do ...