I\'m trying to send an email with netcat, this is what i get:
****-MacBook-Pro:~ ***$ nc smtp.gmail.com 25 220 mx.google.com ESMTP h8sm66301168eew.16 - gsmtp
You basicaly just need to specify that you're using TLS.