You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can smtp client add a flag option set to ignore error that address is invalid?
In my php program, the phpmail ignore the option in default, I want set gomail set it too, it could set to false as default, make the behavior is extraly like before.
Like this:
dialer:=gomail.NewDialer(conf.SMTP.Host, conf.SMTP.Port, conf.SMTP.Username, conf.SMTP.Password)
dialer.SetIgnoreAddressInvalid(true) // if have not this call, the behavior should same as before.err:=dialer.DialAndSend(mail)
iferr!=nil {
returnerr
}
The text was updated successfully, but these errors were encountered:
Can smtp client add a flag option set to ignore error that address is invalid?
In my php program, the phpmail ignore the option in default, I want set gomail set it too, it could set to false as default, make the behavior is extraly like before.
Like this:
The text was updated successfully, but these errors were encountered: