fix: add tests

This commit is contained in:
Aivars Sterns
2025-11-07 08:50:07 +02:00
committed by Bernhard Fröhlich
parent b164ce1387
commit b0e4f0077f
2 changed files with 316 additions and 1 deletions

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{Name: c.serverName, TLS: c.tls, Auth: c.auth})
mech, resp, err := a.Start(&smtp.ServerInfo{c.serverName, c.tls, c.auth})
if err != nil {
c.Quit()
return err