I have been created, simple php code for sending email.
Here is the code:
index.html:
<form method="post" action="email.php">
  Email: <input name="email" id="email" type="text" /><br />
  Message:<br />
  <textarea name="message" id="message" rows="15" cols="40"></textarea><br />
  <input type="submit" value="Submit" />
</form>
error shows like this:
SMTP Error: Could not authenticate. Message could not be sent.
Mailer Error: SMTP Error: Could not authenticate.
May i know, what i am missing, how can i fix this error.
Thanks.,
Here is the code for php mailer