Check SMTP server and port.

Make sure SSL is enabled.