Japanatron Logo

I struggled a bit with figuring out how to specify the from email address when sending mail on the Linux command line.  In short, you need to use the -r option.  For example:

echo "Enter your message here.  Thank you." | mail -s "Enter your subject here" -r This email address is being protected from spambots. You need JavaScript enabled to view it. This email address is being protected from spambots. You need JavaScript enabled to view it.

Related Articles

MS Outlook - None of your emai...

PROBLEMYou send email to a recipient, but immediately receive an error bounce-back message that says "None of your email accounts could send to this recipient."...

Safeguarding Your Digital Life

This is an outline of a presentation I delivered called "Safeguarding Your Digital Life."  It summarizes best practices to follow for keeping your online identi...

Windows - Turn Off Internet Ex...

Yes, I know it's a security feature, but it's very frustrating for my colleagues that constantly download PDFs via Internet Explorer, confirming each and every ...

Computing in Japanese - Dealin...

Mojibake (aka "junk text") is a horrible affliction that most computing in Japanese have encountered at some point.  Here are some simple fixes that I u...