msmtp

msmtp

Setup for gmail:

ccount default              
host smtp.gmail.com          
port 587                     
from you@gmail.com
tls on                       
tls_starttls on              
tls_trust_file /etc/ssl/certs/ca-certificates.crt
auth on                     
user you        
password xxx          
logfile /tmp/msmtp.log

Replace "you" and "xxx". And you need some certificates!