My question is, does it work with gmail if I have gmail settings properly configured?
setupemail "smtp.gmail.com", 465, "<sourceaddr>@gmail.com", "<password>"
email "<destinationaddr>@gmail.com", "<sourceaddr@gmail.com", "Testing", "TEST"
wait
FYI:
Gmail SMTP server address: smtp.gmail.com.
Gmail SMTP username: Your full Gmail address (e.g. yourusername@gmail.com)
Gmail SMTP password: Your Gmail password.
Gmail SMTP port (TLS): 587.
Gmail SMTP port (SSL): 465.
Gmail SMTP TLS/SSL required: yes.