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
作者本地的mailService能用吗?我调用send方法一直报错参数看来都是正确的
this.mailerService.sendMail({ to, subject, text: content, })
报错信息:[Nest] 9396 - 2024/05/14 15:23:15 ERROR [Catch] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
The text was updated successfully, but these errors were encountered:
用系统工具中的邮件发送功能 发送邮件可以正常收到
Sorry, something went wrong.
那上面提示的不是已经很清楚了吗:
The "path" argument must be of type string. Received undefined
看起来是没有接收到path参数
path
建议debug看看
是有这个问题,但是是因为email库的原因 nest-modules/mailer#16 改为html的方式发送就可以了
No branches or pull requests
Bug report(问题描述)
作者本地的mailService能用吗?我调用send方法一直报错参数看来都是正确的
Steps to reproduce(问题复现步骤)
this.mailerService.sendMail({
to,
subject,
text: content,
})
报错信息:[Nest] 9396 - 2024/05/14 15:23:15 ERROR [Catch] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
Screenshot or Gif(截图或动态图)
Link to minimal reproduction(最小可在线还原demo)
Other relevant information(格外信息)
The text was updated successfully, but these errors were encountered: