TypeError:无法读取未定义的属性'isMultiple'(在Windows控制台上通过nodejs使用sendgrid)
我一直在尝试通过Windows控制台上的nodeJs通过sendgrid发送电子邮件。我尝试使用sendgrid教程安装它:
echo "export SENDGRID_API_KEY='YOUR_API_KEY'" > sendgrid.env
echo "sendgrid.env" >> .gitignore
source ./sendgrid.env
回答如下:我知道这已经很晚了,但是您需要发送信息:更改sgMail.send()
至sgMail.send(msg)
。
评论列表(0)
- 暂无评论