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

Linux - How to Mount Clonezill...

Make sure the partclone package is installed.apt-get install partcloneCreate an empty image file.touch image-file.imgRestore the clonezilla files into the image...

Joomla 2.5 - Horizontal Footer...

For some reason Joomla 2.5 lost the ability to show nice horizontal menus in the footer; instead the items appear vertically.  I personally used this in Joomla ...

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

Windows - Install Fonts Via Co...

I found this awesome Windows powershell script that allows you to install fonts via the command line.  This is very convenient for mass deployment.$ssfFonts = 0...