Node-RED 在电子邮件节点中出现“登录失败”错误

Hen*_*yw4 0 email login runtime-error node-red ibm-cloud

我正在使用电子邮件节点连接到 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
Run Code Online (Sandbox Code Playgroud)

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

Val*_*kin 5

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

1) 确保您的 Gmail 帐户设置“访问安全性较低的应用程序”已开启

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

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

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

在此处输入图片说明