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

Add ignore certificate validity check for Nodemailer #744

Open
addsky opened this issue May 7, 2024 · 1 comment
Open

Add ignore certificate validity check for Nodemailer #744

addsky opened this issue May 7, 2024 · 1 comment

Comments

@addsky
Copy link

addsky commented May 7, 2024

Problem:
Even when specifying the "SMTP_secure: false" parameter in the configuration file, the connection to the local mail server gives the error "unable to verify the first certificate".

I would like to add the following parameter to the nodemailer connection:

tls: {
            // do not fail on invalid certs
            rejectUnauthorized: false
        },
@meltyshev
Copy link
Member

Hi! it'd be really nice to have this parameter.

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