Back

Upon creating an account will the user receive a verification email ?

  • 0
  • Accounts
  • Web
ideclon
22 Aug, 2023, 15:16

You don’t need the port here

TL;DR
The user is asking if a verification email will be sent upon creating an account. There is no direct solution mentioned in the thread, but there are suggestions to use Appwrite functions to handle email verification. The user asks if they can send the verification email from a Next.js server-side, to which someone suggests it's a normal approach and sending emails from the client-side is not recommended. The user also asks how to verify if the email is verified and mentions using a token. It seems that using an Appwrite function triggered from the frontend is needed for this process. There is no mention of a frontend function specifically for email verification.
killerthief
29 Aug, 2023, 11:57

In order to verify an account do I have to use backend ?

killerthief
29 Aug, 2023, 11:57

How can I verify from front end?

D5
29 Aug, 2023, 12:33

Seems it's needed an appwrite function for that. You trigger the function from the front end

D5
29 Aug, 2023, 12:34

Or with account.create

killerthief
29 Aug, 2023, 12:52

I can do that. was cursious if there was a front end function for it

D5
29 Aug, 2023, 12:56

Seems not

killerthief
29 Aug, 2023, 12:57

So , I have to create it tradinally . By using a token , I guess

D5
29 Aug, 2023, 12:59

What do you mean?

killerthief
29 Aug, 2023, 13:00

By , having to send an email to the person's account

killerthief
29 Aug, 2023, 13:00

and then him clicking the link and verifying via a token

killerthief
29 Aug, 2023, 13:00

once that is done I can mark the account is verified

killerthief
29 Aug, 2023, 13:00

otherwise , how do I verify if the email is verified or not

D5
29 Aug, 2023, 13:06

This is the normal approach. Also sending emails from client side is not a good idea since can be translated into spam, etc

killerthief
29 Aug, 2023, 13:08

Will send it from next js server side ?

killerthief
29 Aug, 2023, 13:08

Will that be fine ?

D5
29 Aug, 2023, 13:09

I think yes. You can do that too through an appwrite function, probably even more recommend

killerthief
29 Aug, 2023, 13:22

Appwrite function ?

killerthief
29 Aug, 2023, 13:22

You mean , I create a function that does the above right ?

D5
29 Aug, 2023, 13:28

Yes, appwrite functions are code executed and deployed server side in your appwrite instance

killerthief
29 Aug, 2023, 13:29

got it thanks

D5
29 Aug, 2023, 13:29
killerthief
29 Aug, 2023, 13:33

Interesting will check it out

killerthief
29 Aug, 2023, 13:33

thanks

Drake
29 Aug, 2023, 18:10

You can verify on the front end

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more