An easy example of making email based Contact Us page using PHPMailer



PHP Mailer is a simple email sending PHP class that you can download it from here: https://github.com/PHPMailer/PHPMailer

This blog post is showing you an example of a Contact Us page with a simple form, that if you fill the form and hit send button, it will send the form content to your email.

You just need to replace email credentials in the source files.

Please note that initially I tried to run this PHP program on my local web server using XAMPP but it failed, so I uploaded it to my real web server and tried it online, then it worked.

Get the example source code here: https://github.com/habibieamrullah/EasyContactUsPage

loading...

Leave a Reply

Your email address will not be published. Required fields are marked *