Closed sergeychernyshev closed 3 years ago
Instead of using a deprecated Swift_MailTransport for sending email, add configuration options for SMTP configuration:
Swift_MailTransport
UserConfig::$SMTPHost
localhost
UserConfig::$SMTPPort
25
UserConfig::$SMTPUserName
null
UserConfig::$SMTPPassword
UserConfig::$SMTPEncryption
and use Swift_SmtpTransport by default.
Swift_SmtpTransport
Do not authenticate if UserConfig::$SMTPUserName and UserConfig::$SMTPPassword are not set.
Do not use encryption if UserConfig::$SMTPEncryption is not set.
Also add configuration options to settings page.
Instead of using a deprecated
Swift_MailTransport
for sending email, add configuration options for SMTP configuration:UserConfig::$SMTPHost
(default:localhost
)UserConfig::$SMTPPort
(default:25
)UserConfig::$SMTPUserName
(default:null
)UserConfig::$SMTPPassword
(default:null
)UserConfig::$SMTPEncryption
(default:null
)and use
Swift_SmtpTransport
by default.Do not authenticate if UserConfig::$SMTPUserName and UserConfig::$SMTPPassword are not set.
Do not use encryption if UserConfig::$SMTPEncryption is not set.
Also add configuration options to settings page.