Feat: mail SMTP settings

This commit is contained in:
HFO4
2020-02-23 18:40:14 +08:00
parent ef42ec3927
commit 000a48ff06
7 changed files with 50 additions and 5 deletions

View File

@@ -27,6 +27,9 @@ func Send(to, title, body string) error {
return nil
}
Lock.RLock()
defer Lock.RUnlock()
if Client == nil {
return ErrNoActiveDriver
}