I want to send emails from my work computers so that I can notify myself when various long-running tasks are completed. As I understand it, the command below looks up bar.com's MX record, makes a connection to the mail server and does SMTP to send the message:
echo “Hello world” | mail -s “Hello world” [email protected]
What do I need to know so that I can avoid being flagged/blocked as a spammer?
mailto be different than sending with anything else? (And what does this have to do with Unix or Linux?)mailrelies on some other software in order to send beyond the box, so don't assume this will work at all until you try it.