Skip to content

Enable SSL SMTP

Wang Wenlin requested to merge (removed):main into main

Canaille can only support insecure SMTP and SMTP with StartTLS, but not support SMTP with SSL.

This change is used to enable SMTP with SSL.

  1. Add a SSL configuration in section "SMTP";
  2. When SSL is set to true, using SMTP_SSL instead of SMTP of smtplib;
  3. Otherwise, follow the previous logic.

Merge request reports