Hi team
I've created an Appwrite cloud function to send an email verification to a user. My understanding is that server-side code should use the Users API, but I'm unable to find the createVerification() method in its documentation. However, I've found that method in the Account API.
Could you please clarify my understanding and provide the correct code for sending a verification email from an Appwrite function?
it's common to make that call client-side. no need to do that server-side. You could use the function for handling the verification, though
Maybe not fully related to the verification but related to your answer, is there a rule on when it's okay/best to do it client-side VS server-side?
Additionally, if we are using SSR, how would that work? Can we make requests on behalf of an user? (aka instead of using the api key/admin client)
Recommended threads
- Cloud function deploy stucks in processi...
Been trying for the last hours to deploy my function but for whatever reason, alwasy stuck on processing!
- One-time Cloud migration blocked by data...
Hi, I’m blocked on a one-time migration from Appwrite Cloud to my self-hosted Appwrite instance. We already fixed the region issue, and the migration now corre...
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...