Send Gmail from the Linux Command Line

October 6, 2012 by · 16 Comments
Filed under: command line, HowTo, linux, Linux Mint, Ubuntu 

In this post I'm going to show how to send an email from the Linux command line through your Gmail account. This can be handy if you're a command line junkie. The real power, however, is in being able to send an email automatically from a script. I'll be doing another post where I use this in a script to notify me when something has changed on my system. For now though, I'll just show the setup so you can send an email from the command line.  This process has been tested on Ubuntu 12.04 and Linux Mint 13. Read more