Hello.
How to specify the sender when sending mail in the console?
sender info@mx.mail.com
recipient test@gmail.com
Not works.
How to specify the sender when sending mail in the console?
sender info@mx.mail.com
recipient test@gmail.com
echo "test" | mail -s "My test mail." test@gmail.com -aFrom:info@mx.mail.com
or
echo "test" | mail -s "My test mail." -r info@mx.mail.com test@gmail.com
Not works.