We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我设置了一个邮箱报警实例,测试的时候报错User must not be null,经过排查发现是前端没有传user参数,后端有这个判断,所以报错
前端参数:
{id: 1, name: "email", type: "Email",…} enabled : true id : 1 name : "email" params : "{"receivers":"[email protected]","receiverCcs":"[email protected]","serverHost":"hadoop100","serverPort":"[email protected]","sender":"二狗子","msgtype":"text"}" type : "Email"
后端校验: MailSender.java mailUser = config.get(EmailConstants.NAME_MAIL_USER); requireNonNull(mailUser, EmailConstants.NAME_MAIL_USER + mustNotNull);
no
0.7.5
The text was updated successfully, but these errors were encountered:
你不开认证怎么发送呢 , 开启邮箱验证 填账号和密码
Sorry, something went wrong.
No branches or pull requests
Search before asking
What happened
我设置了一个邮箱报警实例,测试的时候报错User must not be null,经过排查发现是前端没有传user参数,后端有这个判断,所以报错
What you expected to happen
How to reproduce
前端参数:
{id: 1, name: "email", type: "Email",…}
enabled
:
true
id
:
1
name
:
"email"
params
:
"{"receivers":"[email protected]","receiverCcs":"[email protected]","serverHost":"hadoop100","serverPort":"[email protected]","sender":"二狗子","msgtype":"text"}"
type
:
"Email"
后端校验: MailSender.java
mailUser = config.get(EmailConstants.NAME_MAIL_USER);
requireNonNull(mailUser, EmailConstants.NAME_MAIL_USER + mustNotNull);
Anything else
no
Version
0.7.5
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: