Originally Posted by Ac_x0
First good morning!
I have little question about sending email from the terminal because i am too lazy to open my email it's easier for me to do it from the terminal, but how ever i have little issue with it when i tape this:
#Mail -s "Hello is it me you looking for?" firstname.lastname@example.org
I get this: Cannot parse address `Hello is it me you looking for?' (while expanding `Hello is it me you looking for?'): Malformed email address
Yes; read the man page on the mail command.
You're not actually putting a message into things to send
...just a subject header, first off. And I cannot duplicate this on CentOS, Ubuntu, or openSUSE. All that exact command above does is wait for me to type a message. When I do, and press CTRL-D, it sends an email just fine. You don't provide any details about the version/distro of Linux you're using, or the mail (postfix? Sendmail? mailx?) system, nor if this has ever worked or is it a new problem? Read the "Question Guidelines" link in my posting signature.
Type in "which mail", and see what it points to.