using /usr/bin/mail on Ubuntu 18.04

Adam Funk a24061 at ducksburg.com
Thu Jun 17 13:00:03 UTC 2021


On 2021-06-17, Jerry Geis wrote:

> Hi
>
> I am trying to do something like:
> echo "" | mail myemail at myemail.com
>
> This just hangs... Weird right.
>
> So I tried:
>
> mail myemail at myemail.com
> I got prompted for CC
> I got prompter for Subject
> I then entered both above - and a short body
> on the far left I entered just the . and hit enter
> nothing - it does not send ?
>
> What might be happening that mail is not "sending".

Maybe you need to install a mail transfer agent?

I think nullmailer is good enough if you just want to send
command-line, cron, and at mail to yourself.





More information about the ubuntu-users mailing list