This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
SMTP email #11210
Comments
I followed instructions also using a google email. Here is my config:
I tested the mailing ability through an @mention in a comment on an item. It was able to send and I was able to receive it. I did have to set an app-specific password through google but that didn't give me the same error. With port 25 I got:
Which was also not your error. Is there a specific place you were using the email system? |
I get this error all the time wherever i want to use the email service. When sending invitation mail with directus app or using MailsService in custom endpoints to send email with template |
@j-kia Try setting |
I set it to false and get |
I updated openssl and now it doesn't give me the |
Did you change your port back to 465? I got that error on port 25. |
@jaycammarano yes you're right, I was using port 25, I change it to 465 and now i get:
I checked username and password and it was correct. it seems i should allow less secure app in my account settings. |
Did you set an app-specific password with Google? I had to do that. |
It sounds to me like this is most likely a configuration issue, lets keep this discussion going in Discussions 👍🏻 |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Preflight Checklist
Describe the Bug
Email connection fails when I'm using email service
To Reproduce
I want to use TLS so set SMTP Secure to true (I also tried port 465)
Errors Shown
Error when EMAIL_SMTP_SECURE is true
What version of Directus are you using?
9.4.3
What version of Node.js are you using?
16.13.1
What database are you using?
MySql
What browser are you using?
Any browser
What operating system are you using?
linux
How are you deploying Directus?
Docker
The text was updated successfully, but these errors were encountered: