Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Flag to ignore invalid address error #191

Closed
RandalTeng opened this issue Nov 6, 2023 · 2 comments
Closed

[feature] Flag to ignore invalid address error #191

RandalTeng opened this issue Nov 6, 2023 · 2 comments

Comments

@RandalTeng
Copy link

RandalTeng commented Nov 6, 2023

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)
if err != nil {
  return err
}
@RandalTeng RandalTeng closed this as not planned Won't fix, can't repro, duplicate, stale Nov 6, 2023
@RandalTeng RandalTeng reopened this Nov 6, 2023
@wneessen
Copy link

wneessen commented Nov 8, 2023

This project is not maintained anymore. The owned unfortunately passed away. You might wanna have a look at go-mail instead.

@RandalTeng
Copy link
Author

Thanks for the reply, I will check it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants