Android-Login-And-Registration icon indicating copy to clipboard operation
Android-Login-And-Registration copied to clipboard

Verification.php error

Open EngrieS opened this issue 2 years ago • 3 comments

Hello, when registering a user, a code should be sent from Email, but nothing is sent or received from me, what can be?

What the code looks like:

$ response ["error"] = false; $ response ["message"] = "New otp has been sent to your e-mail address."; $ response ["mail"] = $ message; $ from = "[email protected]"; $ email = "[email protected]"; $ subject = "Android Learning Email Verification"; $ message = "Hello $ name, \ n \ nVerify that you own $ email. \ n \ nYou may be asked to enter this confirmation code: \ n \ n $ otp \ n \ nRegards, \ nAndroid Learning."; $ headers = "[email protected]". $ from;

EngrieS avatar Dec 02 '21 17:12 EngrieS

For mail verification you need real server. Mail function is not work in localhost

akrajilwar avatar Dec 03 '21 01:12 akrajilwar

I have a real postal address, and this code is written after the comment that these lines are for online mail

EngrieS avatar Dec 03 '21 03:12 EngrieS