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

Combine Image File and Audio F...

I wanted to figure out a way to quickly and easily combine an image file (jpg) and audio file (mp3) into a video file (mov) using the free media converter tool ...

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."...

Why Linux is Cool

Linux proudly sits in a very special place in the heart of the IT world. Watching Linux pros clack away at the command line inspires a sense of awe and ador...

My 30-Day Trial of Google Apps...

Although I adore running my own mail server, I was curious about Google Apps for Work, specifically Gmail for Work.  Could it block spam as effectively as my ow...