When trying to send email from the Windows app, after configuring a valid and connected SMTP server (smtp.mailgun.com) over port 25 and SSL/TLS enabled, I get an error.
Edit: In fact when trying the Slack app after I get authenticated through oAuth I get the same error when say getting channel details.
What is the error message (if any)?
Executing the node:
Error: Client network socket disconnected before secure TLS connection was established
at connResetException (node:internal/errors:690:14)
at TLSSocket.onConnectEnd (node:_tls_wrap:1577:19)
at TLSSocket.emit (node:events:406:35)
at TLSSocket.emit (node:domain:470:12)
at endReadableNT (node:internal/streams/readable:1331:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Yeah. I can try a few other ports but the slack app also sends the same error after configuration. I check my firewall and public and private access is on for the app.
Indeed the ssl / tls is port 465 only. But I still can’t get it to send email on port 25 using the windows app with ssl/tls off . Using self hosted works a charm.
Seeing this works on your self-hosted n8n instance this could be a problem with your ISP - it’s not uncommon to block port 25 for private accounts.
Seeing you are using Mailgun you could consider using the Mailgun node instead of the SMTP one here.
If you want to use the Send Email/SMTP node without SSL instead, you can alternatively consider using port 587 instead of 25 with your Send Email credentials as this is also supported by Mailgun.