
i can access my localhost, should i provide https://localhost/ instead of https://example.com%27/ ?


It should be the url of your client application that you're building

Maybe this will help clarify: https://dev.to/appwrite/30daysofappwrite-email-verification-and-forgot-password-420o.
Some things might be outdated, but the general idea/flow is the same

still not clear, how she/he got the url or created the urllet promise = sdk.account.createRecovery('email@example.com', 'http://myappdomain/resetPassword');

you as the developer set it because you're building and deploying the app

if i dont use url for redirecting, and just extracting the userid and secret key from url (received url in mail ) and then update the password, this will be secure ?

How are you going to update the password?

this the url got in mail will extract the user id and key and pass it to update method

here is the update method from doc import 'package:appwrite/appwrite.dart';
Client client = Client();
Account account = Account(client);
client
.setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
.setProject('5df5acd0d48c2') // Your project ID
;
Future result = account.updateRecovery(
userId: '[USER_ID]',
secret: '[SECRET]',
password: 'password',
passwordAgain: 'password',
);
result
.then((response) {
print(response);
}).catchError((error) {
print(error.response);
});
}```

Sure

is this is a good idea with respect to security concern ?

Sure

ok thanks

how to edit emails profile picture, name, title etc, and why mail is receiving in spam although i am using SMTP.

There's an environment variable for the from email.
What SMTP provider are you using?

sendinblue

Maybe the domain is misconfigured

how to configure domain ?

for domain configration have to buy domain ?

Yes and you typically have to do some extra stuff to prove you're the owner. I'm sure you can Google how to make sure your emails don't end up in spam

i am looking for totally free smtp, do u have any idea ?

Regardless of whatever you use, it will take effort to get it configured

so setting up own smtp means, landing in spam?

If you set up your own SMTP server, it will end up in spam. If you use a provider, you're less likely, but you have to configure it properly
Recommended threads
- Flutter OAuth2 Google does not return to...
When the flow starts, the browser opens, I select an account, and it keeps showing: """ Page not found The page you're looking for doesn't exist. `general_rout...
- Redirect URL sends HTTP instead of HTTPS...
I am not sure since when this issue is present, but my Google and Apple redirect URI are no longer pointing to the HTTPS redirect URI when I try to use OAuth. ...
- Failing to run document operations on sd...
Could someone point me in the right direction I'm going in cirlces. I have a problem with sdks and my self-hosted server in production (for ~3 years) I have bee...
