Unclear about using TargetID in Messaging with serverless function
- 0
- Self Hosted
- Functions
- Messaging
- Flutter
I want to write a serverless function using Messaging and a Custom SMTP server to send an email to a user. Sounds simple enough, right? But I don't get it. I can use the UserId or if I have just the email address I can get the UserId with a query, but do I need another query to get the targetID (of the email) for sending a message? That seems pretty laborious. Is there another way or am I thinking about this all wrong?
Unclear about using TargetID in Messaging with serverless function
Recommended threads
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- Selfhosted Github App installation
I've followed this guide: https://appwrite.io/docs/advanced/self-hosting/configuration/version-control to connect GitHub to my self-hosted Appwrite instance (1....