SSL/TLS for port 465 (Net::ReadTimeout) - undocumented solution

There are two ways of doing SSL with SMTP.

  1. Connect normally, usually over port 25 or 587, and issue a STARTTLS command. This is what DISCOURSE_SMTP_ENABLE_START_TLS is for.
  2. Connect with SSL from the start, usually over port 465. This is what DISCOURSE_SMTP_FORCE_TLS is for.