
Like the title said, not really sure how you would do this properly. My current bit of code:
const handleResendEmail = async () => {
setIsResending(true);
try {
const account = new Account(client);
await account.createVerification('thravo://verify');
setSnackbarMessage('Verification email resent. Please check your inbox.');
setShowSnackbar(true);
} catch (error) {
console.error('Resend Verification Error:', error);
setSnackbarMessage('Failed to resend verification email. Try again later.');
setShowSnackbar(true);
} finally {
setIsResending(false);
}
};
I know this is likely not how this is done, since Appwrite apparently requires an actual url? Since I'm getting the error:
Sign Up Error: [AppwriteException: Invalid url param: URL host must be one of: localhost, api.thravo.net, console.thravo.net]
This is on a self hosted instance, my application is using react native, expo, and expo go for testing purposes. Yes I have a custom SMTP server that I'm hosting on a different server, and yes it does work I've tested it.

One second I forgot to include the actual SignUpScreen bits of code that calls for a verification code to be sent

Pretty simple:
const appDeeplink = `thravo://verify`;
await account.createVerification(appDeeplink);

Most of this code really isn't needed for this question tbh.
Recommended threads
- Functions not work on Server only Localh...
Hi, I successfully upgraded from 1.4 to 1.7, but I'm having a problem. The functions no longer work with the settings I had. I assume some changes were made. It...
- Console Login after upgrade
Hi, running a small instance self hosted, upgraded from 1.6.0 to 1.74 this morning before spotting the migration guide... When trying to login to the console n...
- Appwrite functions can't connect to data...
I'm trying to create a function that queries my database, but all database operations timeout from within the function, even though CLI access works perfectly. ...
