send multiple email with pinpoint SendMessage #4207
-
Hello. My goal is send multiple method next, i want to send multiple emails. my request bodies are like this.. {
"Addresses": {
"[email protected]": {
"ChannelType": "EMAIL",
"Context": {
"uuid": "56bcc098-6197-43ed-80b1-4a48d3e833f0",
"userType": "app"
},
"Substitutions": {
"Trans.body.regards": [
"regards.."
],
"Trans.subject": [
"[my_email_subject]test email title for APP!"
],
"Trans.body.p1": [
"Hello world!"
],
"Trans.body.p2": [
"this is body!"
]
},
"ReceiptHandle":" SOMETHING_RECEIPT_HANDLE"
},
"[email protected]": {
"ChannelType": "EMAIL",
"Context": {
"uuid": "2a6ec24b-f002-4fe0-bf63-495fdeb1c440",
"userType": "web"
},
"Substitutions": {
"Trans.body.regards": [
"Regardsssss"
],
"Trans.subject": [
"[my_email_subject]test email title for APP!"
],
"Trans.body.p1": [
"Hello, <br>."
],
"Trans.body.p2": [
"You made it!"
],
"Trans.body.p3": [
"another text but dunno what to fill more"
]
},
"ReceiptHandle": "ANOTHER_RECEIPT"
}
},
"Context": {},
"Endpoints": {},
"MessageConfiguration": {
"EmailMessage": {
"FromAddress": "admin@my_service.com"
}
},
"TemplateConfiguration": {
"EmailTemplate": {
"Name": "MESSAGE_FOR_APP"
}
},
"TraceId": "fffffff-ffff-ffff-ffffff"
} as you can see the above example, there is two FROM users to send. but i cannot find any option about this so far. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @juicycool92 - sorry for not getting here sooner. This's more of service related question rather than SDK but from my knowledge, your use case is unique and I don't think that feature is currently available. I would also recommend checking out SQS sendMessage as an alternative. If you're still working on finding the answer, I would be happy to assist you further with some guidance from service team. Best, |
Beta Was this translation helpful? Give feedback.
Hi @juicycool92 - sorry for not getting here sooner.
This's more of service related question rather than SDK but from my knowledge, your use case is unique and I don't think that feature is currently available. I would also recommend checking out SQS sendMessage as an alternative.
If you're still working on finding the answer, I would be happy to assist you further with some guidance from service team.
Best,
John