Send an Email to an arbitrary address? #10206
Replies: 1 comment
-
| Hi Carl, Currently, Appwrite’s Messaging API is designed around sending messages to predefined targets such as registered users, topics, or existing targets created via the console or SDK. Sending emails directly to arbitrary, non-registered email addresses is not supported out of the box. Your idea to allow creating “targets” dynamically from the SDK with arbitrary email addresses is a reasonable feature request and would definitely make cases like yours easier to handle within Appwrite. For now, if you need to send emails to arbitrary addresses without user accounts, you will need to integrate with an external email service (like SendGrid, Mailgun, or Amazon SES) in parallel with your Appwrite backend. If this is an important feature for your use case, I recommend creating a feature request on the Appwrite GitHub repo to bring it to the team’s attention. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an app that doesn't require user login, but allows users to set an email address for updates on a resource they've created (a meeting scheduling app, where a unique link to set your availability is given to users by the meeting creator via whatsapp or whatever). Since I don't create users in appwrite for this (again, no login), I am forced to send emails using a different API. It would be nice to be able to send emails via the Appwrite Messaging API to arbitrary addresses if necessary. Or, if that's not possible, at least allow targets to be created directly from the SDK so I can create the target for that user and then send the email!
Basically I'm just imagining a way to use
messaging.create_emailwith actual email addresses rather than justtopics,users,targets.Beta Was this translation helpful? Give feedback.
All reactions