Re: exim4 query
On Wed, Jun 17, 2009 at 10:52:18AM -0500, Boyd Stephen Smith Jr. wrote:
> In <[🔎] 3df35b760906170818re166e28x84444be9006d741e@mail.gmail.com>, Yuriy
> Kuznetsov wrote:
> >Could you give some commands as examples of sending emails with exim4,
> >please?
>
> Install bsd-mailx.
> echo 'Body of the message' | mailx -s 'Subject Line' 'to#1' 'to#2'
>
> OR
>
> printf 'dot-stuffed-Headers\n\ndot-stuffed-Body of message' | \
> /usr/sbin/sendmail
This may be what he meant, but isn't that for which he asked.
To answer Yuriy's question, I don't know enough SMTP to be able to talk
to exim directly to send a mail with exim4.
mailx works well for scripts or short emails from the command line. For
normal everyday use, install mutt.
Doug.
Reply to: