I downloaded the source code here http://www.html-form-guide.com/php-form/php-registration-form.html for a membership login site for my site, I extracted the zip file then paste the source folder in my localhost. I followed all the instructions there, everything are fine I can add new users in my database. The only problem I encountered is I can't send the confirmation code to the users email address. I got the error message "Failed sending registration confirmation email." which I believe is part in the phpmailer code.
if(!$mailer->Send())
{
$this->HandleError("Failed sending registration confirmation email.");
return false;
}
return true;
Please help me I am new I just trying this one thank you so much! You can download the file in the link I provided to try it