mirror of
https://git.verdigado.com/NB-Public/simple-wkd.git
synced 2024-12-06 14:52:41 +01:00
Return to debian for docker
This commit is contained in:
parent
da472a23ff
commit
ca8bcfaa96
5 changed files with 17 additions and 11 deletions
|
@ -85,6 +85,7 @@ fn get_mailer() -> SmtpTransport {
|
|||
.credentials(creds)
|
||||
.port(SETTINGS.mail_settings.smtp_port)
|
||||
.build();
|
||||
debug!("Checking connection...");
|
||||
if mailer.test_connection().is_err() {
|
||||
warn!("Connection test to smtp host failed!");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue