I am sorry you’re having trouble. Are there possibly any additional server logs that might help with understanding the problem? If not, can you confirm which email provider you are using so I can try and reproduce this issue?
In this topic you can also find a bunch of working configurations for a number of email providers which you might find helpful.
Not sure where to find the logs. I’m using Docker on Ubuntu 22, if it helps. I am using an SMTP server on a shared hosting platform.
For other platforms, I am using SMTP ports 587/465 and same creds as n8n SMTP creds which both work, but not in n8n.
Please do let me know if you require any other info.
You mentioned error from worklfow… Are you trying the same credentials in the SMTP node? That could be the quickest way to debug what is going on.
If you are using TLS disable the SSL/TLS option if you are using SSL enable it, Once the credentials are in if you can share the error we should be able to work out what is going on. For example if the node returns a connection timed out message it could be that the container is having a hard time reaching the outside world properly or the response is very slow.
Found the issue, my VPS cloud provider had port 465 blocked and my SMTP doesn’t work on port 587. They uncloked port 465 and emails started going out. I have my docker compose file SMTP port set to 465 and SSL to true, all working.