Hi everyone ,
I'm currently facing an issue when sending the email verification link, I've decided to create a Function to listen "verify-email" url path to confirm email process, but when using the appwrite global link generated by the function I'm only getting the exception (AppwriteException: general_argument_invalid, Invalid url param: URL host must be one of: localhost, cloud.appwrite.io, appwrite.io (400))
No email is sent, but if I set a localhost:PORT I get the confirmation email.
TL;DR
Issue: Developer is facing an AppwriteException when trying to send an email verification link. The exception states that the URL host must be one of: localhost, cloud.appwrite.io, appwrite.io.
Solution: The developer was able to successfully send the email verification link by setting a localhost:PORT.