feature: support use ssl in smtp config (#58)

* feat: support config use ssl

* feat: update frontend resources
This commit is contained in:
vran
2022-03-21 22:39:13 +08:00
committed by GitHub
parent 57e6a398e7
commit 890414deb1
27 changed files with 121 additions and 48 deletions

View File

@@ -19,6 +19,7 @@ CREATE TABLE IF NOT EXISTS sys_mail
password TEXT NOT NULL,
smtp_host VARCHAR(512) NOT NULL,
smtp_port INT NOT NULL,
use_ssl BOOLEAN NOT NULL DEFAULT FALSE,
update_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
create_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
) CHARSET utf8mb4