Sending e-mail does not work (node-red-node-email)

Hello,

I have upgraded from 0.19 to the latest version of node red v1.0.2.

Since then sending e-mails over gmail does not work anymore.

[
    {
        "id": "22a29086.083818",
        "type": "e-mail",
        "z": "91af24f6.c1567",
        "server": "smtp.gmail.com",
        "port": "465",
        "secure": true,
        "tls": false,
        "name": "martin@gmail.com",
        "dname": "",
        "x": 1000,
        "y": 220,
        "wires": []
    }

]

The error message is:

Error: queryA EREFUSED smtp.gmail.com at QueryReqWrap.onresolve [as oncomplete] (dns.js:196:19)

I tried different settings for TLS and "use secure connection". I uninstalled the package and installed it again. I created a new app password. The error always stays the same.

Any hint would be highly appreciated.

Thanks!

I figured out a workaround. When using the IP address instead of the dns name for smtp.gmail.com it is working fine.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.