email command alternative: a command line SMTP client

Bill Davidsen davidsen at tmr.com
Mon May 18 15:54:39 UTC 2009


Bruno Wolff III wrote:
> On Mon, May 18, 2009 at 12:13:49 +0200,
>   Dario Lesca <d.lesca at solinos.it> wrote:
>> There is on Fedora Repository a command like this?
> 
> You can use mutt to do command line email sending.
> 
> Also if you have an MTA (e.g. sendmail) running there is usually a way to
> inject mail directly to the MTA. This might be more convenient in some
> cases.
> 
   df | mail -s "test mail" me at somewhere
or if you build some minimal headers in a file:
   sendmail -t <my_mail.msg
will also work. It depends on how fancy you need to be.

-- 
Bill Davidsen <davidsen at tmr.com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot




More information about the users mailing list