-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
Allow SMTP connection without auth #3740
Comments
- do not check for user/pass in isEmailSetUp - do not pass an "auth" property to nodemailer if no user/pass Issue: n8n-io#3740
- do not check for user/pass in isEmailSetUp - do not pass an "auth" property to nodemailer if no user/pass Issue: n8n-io#3740
You can enter dummy values for N8N_SMTP_USER and N8N_SMTP_PASS. If your SMTP server does not ask for a user and password, the values are not used. Works for my local SMTP. |
Yes, I tried this solution. As NodeMailer accepts configuration without authentication parameters, it seems like a good idea to use this behavior in N8N. |
Hey @xavier-calland, As you have opened a PR for this one I am going to mark this issue as closed as it is more of a feature than a bug and we can chat on the PR. I do plan on getting the PR reviewed soon as well so this should be something that we have support for soon. Let me know if you have any questions on this. |
Describe the bug
It's not possible to use a SMTP server with anonymous connecion (like a local SMTP relay)
To Reproduce
Steps to reproduce the behavior:
N8N_SMTP_HOST
,N8N_SMTP_PORT
andN8N_SMTP_SENDER
but noN8N_SMTP_USER
norN8N_SMTP_PASS
Expected behavior
Allow SMTP configuration without configuration.
The text was updated successfully, but these errors were encountered: