Messaging via Resend: "to": "\"undisclosed-recipients\": ;" in request body
- 0
- Messaging
- Web
- Cloud
I'm using the node-appwrite@18.0.0 SDK.
await messaging.createEmail({
messageId: ID.unique(),
subject: "Subject",
content: `htmlContent`,
users: [recipientUserId],
draft: false,
html: true,
});
I can see in the console that this is received and the correct user is picked along with their default email target, but Resend always rejects this with status 422:
{
"name": "validation_error",
"message": "Invalid `to` field. The email address needs to follow the `email@example.com` or `Name <email@example.com>` format.",
"statusCode": 422
}
In the request body, the bcc field is showing the actual correct email address, whereas the "to" field is showing a weird escaped phrase:
{
"bcc": ["(this is correct)"],
"to": "\"undisclosed-recipients\": ;"
}
Recommended threads
- Cannot use custom SMTP for messaging (SM...
Hey there! I'm on Appwrite Self-hosted 1.9.0. I've never used the messaging feature before, always sent emails through functions or a custom backend, but I'v...
- All My Project is Gone
Hello everyone, please help. Why have all my projects suddenly disappeared? I received a warning via email about one of my projects being paused. When I clicked...
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...