refactor a bit
This commit is contained in:
@@ -143,7 +143,7 @@ func initSMTP(cfg *config.Config) {
|
||||
MaxSize: cfg.MaxSize,
|
||||
Bot: mxb,
|
||||
Callers: []smtp.Caller{mxb, q},
|
||||
Relay: smtp.RelayConfig{
|
||||
Relay: &smtp.RelayConfig{
|
||||
Host: cfg.Relay.Host,
|
||||
Port: cfg.Relay.Port,
|
||||
Usename: cfg.Relay.Username,
|
||||
|
||||
Reference in New Issue
Block a user