节点RED获得“登录失败".电子邮件节点中的错误 [英] Node-RED getting "login Failed" error in eMail node

查看:150
本文介绍了节点RED获得“登录失败".电子邮件节点中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用电子邮件节点连接到gmail. 我在节点上收到错误-无效的登录名".

I am using the email node to connect to gmail. I receive "Error - Invalid Login" on the node.

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

In the email node, I've set the following parameters:

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 关于我为什么会出错的建议?

This conforms to what I found at the following forum, but I am getting https://productforums.google.com/forum/#!topic/gmail/IWiwVluINfs Suggestions as to why I would be getting an error?

推荐答案

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

Try three things to help make sure that Node-RED email node works :

1)确保您的Gmail帐户设置访问安全性较低的应用" 开启

1) make sure your gmail account setting "Access to less secure apps" is ON

2)您的密码不能超过8个字符

2) your password is 8 characters, not longer

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

3) Your 8 char password is strong i.e., include special character

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

I successfully sent email when I configured it that way. When I tried with less secure password I was getting error.

这篇关于节点RED获得“登录失败".电子邮件节点中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆