0

我正在使用电子邮件节点连接到 gmail。我在节点上收到“错误 - 无效登录”。

在电子邮件节点中,我设置了以下参数:

To: email-i-want-to-email-to@anymail.com
Server: smtp.gmail.com
Port: 465 (which I believe is an SSL port as per the link below)
UserID: gmail-account  (or should this be gmail-account@gmail.com - I've tried both)
Password: the password on the "gmail-account"
Name: email out

这符合我在以下论坛上找到的内容,但我收到了 https://productforums.google.com/forum/#!topic/gmail/IWiwVluINfs 关于我为什么会收到错误的建议?

4

2 回答 2

5

尝试三件事来帮助确保 Node-RED 电子邮件节点正常工作:

1) 确保您的 gmail 帐户设置“访问不太安全的应用程序”已开启

2) 您的密码是 8 个字符,不能再长了

3)您的 8 字符密码很强大,即包含特殊字符

当我以这种方式配置时,我成功发送了电子邮件。当我尝试使用不太安全的密码时,我遇到了错误。

在此处输入图像描述

于 2015-10-08T14:57:59.400 回答
0

您需要在您的 gmail 帐户上配置安全设置以允许此处的“安全性较低的应用程序”:允许安全性较低的应用程序

于 2015-09-10T14:56:01.473 回答