https://github.com/basemax/phpgmailemailsender
A ready-to-use PHP script for sending Emails with an HTML Template will use a Gmail account as the sender and you will not need any email server. Powered by PHPMailer.
https://github.com/basemax/phpgmailemailsender
gmail google mail mail-gmail php php-gmail php-mailer php7 php8 phpmailer phpmailer-google phpmailer-library phpmailer-using
Last synced: 9 months ago
JSON representation
A ready-to-use PHP script for sending Emails with an HTML Template will use a Gmail account as the sender and you will not need any email server. Powered by PHPMailer.
- Host: GitHub
- URL: https://github.com/basemax/phpgmailemailsender
- Owner: BaseMax
- License: gpl-3.0
- Created: 2022-08-04T06:15:01.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-07T15:57:31.000Z (over 3 years ago)
- Last Synced: 2025-05-04T21:45:46.914Z (9 months ago)
- Topics: gmail, google, mail, mail-gmail, php, php-gmail, php-mailer, php7, php8, phpmailer, phpmailer-google, phpmailer-library, phpmailer-using
- Language: PHP
- Homepage:
- Size: 146 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gmail Email Sender by PHP
A ready-to-use PHP script for sending Emails with an HTML Template will use a Gmail account as the sender and you will not need any email server.
Powered by PHPMailer.
## Using
```sh
$ php sender.php
```
## Template
We re-designed the Google email template which can show you a use case and provide an easy-to-use template.
If you are looking for another style, there are many websites that provide thousands of Free email templates.

## Gmail Security
As you know to keep your account safe, you need to verify the auth from your Phone or by getting an SMS.
But the best solution is to create a token. You can create a Token for custom app at Gmail website that will able your PHP script easily auth/login and send emaisl.
| | |
| ---- | ----- |
|  |  |
## What is PHPMailer?
PHPMailer is a code library to send emails safely and easily via PHP code from a web server. Sending emails directly by PHP code requires a high-level familiarity to SMTP protocol standards and related issues and vulnerabilities about Email injection for spamming.
https://github.com/PHPMailer/PHPMailer