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

Enhancement: with ".disableAllClientValidation(true)", also ignore errors from the completeness check #452

Closed
bbottema opened this issue Mar 8, 2023 · 2 comments

Comments

@bbottema
Copy link
Owner

bbottema commented Mar 8, 2023

Originally reported in #448. According to RFC 5322, the From header and recipients list is mandatory for sending emails. However, there are use cases where this rule should not be enforced. For example when only logging an email, or when handling it using a CustomMailer.

There's a .disableAllClientValidation(true) method already, but this precludes the completeness check. This check should now also be ignored (or at least made only to log issues as warnings).

@bbottema bbottema added this to the 8.0.0 milestone Mar 8, 2023
bbottema added a commit that referenced this issue Mar 8, 2023
@bbottema
Copy link
Owner Author

bbottema commented Mar 8, 2023

v8.0.0 released. @morki, it would be great if you could verify!

@bbottema bbottema closed this as completed Mar 8, 2023
@morki
Copy link

morki commented Mar 8, 2023

@bbottema thank you very much, it works perfectly even without the workaround :)

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

No branches or pull requests

2 participants