SMTP Error: Could not authenticate

Avatar
  • Answered
I have created a script in php, After registration user will get email verification link on their email id and after verified that link user can login. I am creating this locally using phpmailer. but i received error SMTP Error: Could not authenticate. how can i fix it. and how can i share my code with you so that you can easily check where is the problem
Avatar
Scott
Hello gurpreet, Sorry to hear you are having issues with your SMTP code authenticating. You can find the main SMTP formatting from our email getting started guide. As long as these match, you should be able to get the code to work. Unfortunately, we are not able to debug or diagnose code, so there is not a place for you to submit it here. Kindest Regards, Scott M