Sending email from the command line question?
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?" recipient@example.com 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 Any suggestions? |
Quote:
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. |
Quote:
|
Quote:
And "deep into world wide web"??? Try typing in "man mailx" and READ THE SCREEN. Quote:
|
All times are GMT -5. The time now is 06:16 AM. |