Not able to send email from mac terminal

Hi


I am trying to send email from my mac terminal using following command -


echo "test" | mailx *******@gmail.com

i also tried sendmail, mail etc.


The command runs without any error on terminal but i did not receive any email in my gmail account.

I am using - mac os sierra.


Please assist.


Thanks.

MacBook Air (13-inch Mid 2013), iOS 10.0.2, Mac Terminal - mail

Posted on Oct 11, 2016 8:11 AM

Reply
1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Not able to send email from mac terminal

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.