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 fromaddress@domain.com recipientaddress@domain.com

Related Articles

Joomla - Checklist for Moving ...

* Remove web directory protection entries * Rsync files to the new location * Change Apache root folder settings * Redo web directory protection entries * U...

How to Spot a Fraudulent Onlin...

I offer some tips on distinguishing lawful online businesses from dishonest ones. Check the site reputation and scan for malware. I compiled a list a service...

My Adventures in Spam Blocking

I hate spam.  I detest it.  And I'm not talking about the scrumptious processed meat product.  I think you all know the spam I'm referring to—the kind peddling ...

Windows - Disable Startup Reco...

If a colleague's PC crashes, Windows will restart into start-up recovery.  The problem here is that start-up recovery often makes an even bigger mess of the com...

Comments (0)
There are no comments posted here yet
Leave your comments
Posting as Guest
×
0   Characters
Suggested Locations