Friday, December 23, 2011

Send email from ubuntu via google without full blown smtp server

Friday, December 23, 2011 Posted by Andre Broers , , ,
I just want to send an email from my ubuntu host, without the hassle of installing postfix or exim.
sudo apt-get install libio-socket-ssl-perl libnet-ssleay-perl sendemail
sendemail -f fromaddress -t toaddress -u test -m "testing for me" -s -xu gmailusername -xp gmailpassword -o tls=yes