Skip to content
New issue

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方法一直报错参数看来都是正确的 #49

Open
0cafe opened this issue May 14, 2024 · 2 comments

Comments

@0cafe
Copy link

0cafe commented May 14, 2024

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(格外信息)

  • Your OS:
  • Node.js version:
  • Mysql version:
  • Redis version:
@songzhengxu
Copy link

用系统工具中的邮件发送功能 发送邮件可以正常收到

@jingshuixiao-sbi-dalian

用系统工具中的邮件发送功能 发送邮件可以正常收到

那上面提示的不是已经很清楚了吗:

The "path" argument must be of type string. Received undefined

看起来是没有接收到path参数

建议debug看看

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants