Friday, December 23, 2011

Send email from ubuntu via google without full blown smtp server

Friday, December 23, 2011 Posted by Andre Broers , , , 2 comments
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 smtp.gmail.com:587 -xu gmailusername -xp gmailpassword -o tls=yes


2 comments: