sendgrid - 在单个 SendGrid 请求中向同一用户发送多封电子邮件
问题描述
{
"headers": {},
"endpoint": "mail/send",
"method": "POST",
"queryParams": {},
"baseUri": "",
"body": {
"from": {
"name": "Test",
"email": "test@noreply.com"
},
"subject": "Test Send Grid Mail Service",
"personalizations": [
{
"to": [
{
"email": "user@test.com"
}
],
"subject": "Test Send Grid Mail Service",
"custom_args": {
}
},
{
"to": [
{
"email": "user@test.com"
}
],
"subject": "Test Send Grid Mail Service",
"custom_args": {
}
}
],
"content": [
{
"type": "text/html",
"value": "Hi"
}
]
}
}
我正在使用此请求正文向同一用户发送多封电子邮件(在本例中为 2 封电子邮件),但发送网格仅发送一封电子邮件。有没有办法在一个发送网格请求中多次向同一用户发送多封电子邮件(在这种情况下为 2 封电子邮件)?
解决方案
推荐阅读
- python - 无法使用 Python 3.9 转换 mp3
- graph - 在邻接表中计算入度的复杂度是O(|E|)?
- windows - 自定义屏幕保护程序 - windows
- android - Firebase StreamBuilder 错误
- react-native - React Native:无法从 app.config.js 读取/更新 app.json
- python - 如果 B 列包含某些内容,则 A 列的整行将成为某些内容
- spring-boot - org.springframework.beans.factory.UnsatisfiedDependencyException:创建名为“ordersServiceImpl”的bean时出错
- java - 如何在 MacOS 上修复 IntelliJ 中的 Javac2.home 值?
- reactjs - TypeError:无法读取未定义的属性“handleSelect”
- google-sheets - GoogleFinance:按月获取历史记录