Mailer settings on local machine

Hi,

I’ve created a form in a modal that collects user info and registers them.

On register SUBMIT, the data is sent to the DB but the Send Mail element is failing. From what I can tell from the error below, the connection to SMTP is being refused.

{"status":"500","code":"ESOCKET","message":"connect ECONNREFUSED 127.0.0.1:465","stack":"Error: connect ECONNREFUSED 127.0.0.1:465\n at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)"}

Should I connect to Sendgrid or Elasticmail from a local node development or is this not possible? What is the best practice for working locally with SMTP? :confounded:

Thanks

Community Page
Last updated: