mirror of
https://github.com/decke/smtprelay.git
synced 2026-11-06 07:51:36 -06:00
feat: add alias file support
This commit is contained in:
1 parent
6e9c00e171
commit
7b6be95125
5 files changed
+88
-4
No files matched your search
@@ -200,7 +200,7 @@ func (c *Client) Auth(a smtp.Auth) error {
|
||||
return err
|
||||
}
|
||||
encoding := base64.StdEncoding
|
||||
mech, resp, err := a.Start(&smtp.ServerInfo{c.serverName, c.tls, c.auth})
|
||||
mech, resp, err := a.Start(&smtp.ServerInfo{Name: c.serverName, TLS: c.tls, Auth: c.auth})
|
||||
if err != nil {
|
||||
c.Quit()
|
||||
return err
|
||||
|
||||
Reference in new issue
Block a user