Skip to content

dev-itzarun/PHP-SMTP-Mailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Free SMTP Mailer with PHP-Mailer SMTP

  • A small Guide For How to use PHP-Mailer with Gmail SMTP

Features

  • This Code Works as API
  • Supports Both GET and POST
  • Return Status as JSON

How to Get Gmail SMTP Enabled on your Account

  • 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

Demo


Change Config

  • Open email_config.php and change your email , password and name

Email Using GET

  • Open yourdomain.com?recpt_email=reciptantmail@gmail.com&subject=test&message=testmail

Email Using POST

  • You can use JS Fetch or Axios or CURL - POST

Gmail Limits

  • With Free Gmail Account : 500 [Messages/Recipients]
  • G suite : Messages per day – 2000 and recipients per day – 10000.

About

PHP SMTP Mailer Powered by Gmail SMTP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages