Extracting Secret Code from Email for Verification and Password Recovery in Flutter App with appwri
- 0
- Flutter

I'm currently working on a Flutter app where users need to verify their email addresses and recover their passwords through email. I've set up the email sending and verification part successfully, but I'm facing a challenge in extracting the secret code from the verification and password recovery emails.
The verification and password recovery emails contain a secret code that users need to enter in the app to complete the process. I'm struggling to figure out how to automatically extract this secret code when the user opens the email while using the Flutter app.
I would greatly appreciate it if anyone could guide me on how to achieve this. Specifically, I'm looking for insights on:
How to detect when a user opens an email containing the secret code in the Flutter app. Extracting the secret code from the email content. Passing the extracted secret code to the relevant parts of the app for verification or password reset. Any code snippets, package recommendations, or step-by-step guidance would be incredibly helpful. Thank you in advance for your expertise and assistance. If you need more context or code samples, please let me know.

The idea is they will click on the link and be taken to a page or something where you can extract the data from the URL.
This might be helpful: https://docs.flutter.dev/ui/navigation/deep-linking

thanks i will try that out

but I really need guidance on this, if I can see someone who has done this before that can take me through it

because i want to deploy the project to live production

am unable to get secret and userid from the link please is there any other way?

why not?
Recommended threads
- "Memberships privacy" setting in 1.7.4
Hi everyone, I'm experiencing an issue with a clean self-hosted installation of Appwrite version 1.7.4. I previously used version 1.6.1, and if I remember corre...
- Function 404 error - Deployment with the...
I have a function in my Appwrite Cloud (free plan) project that cannot be accessed or deleted (404 in both UI and CLI). I'm stuck at the 5 functions limit and c...
- 1.6 to 1.7 does not work
Appwrite (self-hosted) stopped working after updating from 1.6.2 that was stable. Getting the general_server_error. Mentioning I fallowed all steps for upgrad...
