mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-21 13:20:49 +01:00
Fix regression
This commit is contained in:
parent
427e8fd1ed
commit
d8df26bbc8
1 changed files with 1 additions and 1 deletions
|
@ -1100,7 +1100,7 @@ func (c *Client) auth() error {
|
||||||
return fmt.Errorf("server does not support SMTP AUTH")
|
return fmt.Errorf("server does not support SMTP AUTH")
|
||||||
}
|
}
|
||||||
|
|
||||||
var authType SMTPAuthType
|
authType := c.smtpAuthType
|
||||||
if c.smtpAuthType == SMTPAuthAutoDiscover {
|
if c.smtpAuthType == SMTPAuthAutoDiscover {
|
||||||
discoveredType, err := c.authTypeAutoDiscover(smtpAuthType)
|
discoveredType, err := c.authTypeAutoDiscover(smtpAuthType)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue