Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verification.php error #8

Open
EngrieS opened this issue Dec 2, 2021 · 3 comments
Open

Verification.php error #8

EngrieS opened this issue Dec 2, 2021 · 3 comments

Comments

@EngrieS
Copy link

EngrieS commented Dec 2, 2021

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 = "main@engrie.ru";
$ email = "main@engrie.ru";
$ 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 = "main@engrie.ru". $ from;

@akrajilwar
Copy link
Owner

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

@EngrieS
Copy link
Author

EngrieS commented Dec 3, 2021

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

@hitman9640
Copy link

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

ensure you have a email account setup with the info you have given it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants