In this tutorial, you can learn how to develop a php contact page (contact form) to send emails (messages) using phpmailer. I created a mail.php form so when people enter data on my html site, then click submit, the data will get forwarded to my email. I have this form, that send fine locally, but when i upload it to hostgator i get the following error message mailer error:
Send Mail Using Contact Form With PHPMailer and Gmail SMTP On Live
* if you want to accept and send uploads in your form, look at the send_file_upload example. In the joomla backend testing of the form, mail delivery is perfect. You can freely edit it as needed to fully accomplish your.
Contribute to phpmailer/phpmailer development by creating an account on github.
//import the phpmailer class into the global namespace Could not instantiate mail function. This is a very basic example of an html contact form using phpmailer to send an email with data registered in the form. Addaddress is a method, not a property.
I'm using phpmailer and web server is. The classic email sending library for php. This email sending contact page is tested on both. * phpmailer simple contact form example.

Addaddress is a function within the phpmailer class so you need to pass the desired email as an argument.
Lots of beginners who know to.

