This is a simple contact form using php
PHPmailer - repo
You need to create a folder named PHPmailer. Add the following files to this folder.
- Exception.php
- OAuth.php
- PHPMailer.php
- POP3.php
- SMTP.php
This is simple contact form using php.
The user will enter the details in the form.
Then the data is validated and mail is sent using gmail smtp with help of phpmailer package.
In the sendmail.php file, you need to add your gmail address and password.
You also need to change the settings in your gmail acc to allow access for less secure apps.
After that, you are good to go.
Now open the index html file and use the contact form.