- A small Guide For How to use PHP-Mailer with Gmail SMTP
- This Code Works as API
- Supports Both GET and POST
- Return Status as JSON
- Open this Link and enter your google password to login
- next follw the steps as same as in below video
- save the new generated App password securly anywhere
- Open
email_config.php
and change your email , password and name
- Open
yourdomain.com?recpt_email=reciptantmail@gmail.com&subject=test&message=testmail
- You can use JS Fetch or Axios or CURL - POST
- With Free Gmail Account : 500 [Messages/Recipients]
- G suite : Messages per day – 2000 and recipients per day – 10000.