I’ve configured a mailersend integration during the onboarding. We have a Premium mailersend plan, and the domain is verified.
When attempting to send a notification through Mail, the request fail. In Logs in Courier I can see the error response:
"data": {
"message": "The cc.0.email field is required. (and 1 more error)",
"errors": {
"cc.0.email": [
"The cc.0.email field is required."
],
"bcc.0.email": [
"The bcc.0.email field is required."
]
}
},
"status": 422,
"statusText": "Unprocessable Entity",
Also in the request, this is what Courier is trying to send:
"data": "{
\"from\":{\"email\":\"automat@mydomain.com\"},
\"to\":[{\"email\":\"martin.janecek@mydomain.com\"}],
\"bcc\":[{}],
\"cc\":[{}],
\"reply_to\":{},
\"subject\":\"Welcome to Courier!\",
\"text\":\"Want to hear a joke? How did the T-Rex feel after a set of bicep curls? Dino-sore!\",
\"html\":\"redacted\"}",
For some reason, Courier is adding an empty object to cc and bcc arrays.