feat: add alias file support

This commit is contained in:
Aivars Sterns authored and Bernhard Fröhlich committed 2025-11-08 08:20:02 +01:00
1 parent 6e9c00e171
commit 7b6be95125
5 files changed
+88 -4

No files matched your search

+1 -1
View File
@@ -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