https://github.com/johnperricruz/php-send-mail-class-using-default-smtp
PHP Send Mail class using default SMTP.
https://github.com/johnperricruz/php-send-mail-class-using-default-smtp
class default email php sendmail smtp
Last synced: 6 months ago
JSON representation
PHP Send Mail class using default SMTP.
- Host: GitHub
- URL: https://github.com/johnperricruz/php-send-mail-class-using-default-smtp
- Owner: johnperricruz
- Created: 2018-04-05T20:56:51.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-05T21:03:01.000Z (about 8 years ago)
- Last Synced: 2025-01-03T11:47:09.545Z (over 1 year ago)
- Topics: class, default, email, php, sendmail, smtp
- Language: PHP
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## PHP Send Mail using default SMTP
## Usage :
```php
require_once('path_to_SendMail.php');
$sendMail = new SendMail();
$config = array(
'subject' => 'Test Mail',
'sender' => 'John Perri Cruz',
'from' => 'johnperricruz@gmail.com',
'bcc' => 'other.user@domain.com',
'cc' => 'other.user@domain.com',
'reply_to' => 'johnperricruz@gmail.com'
);
$sendMail->setConfig($config);
$sendMail->sendEmail('EMAIL CONTENT',recepient@domain.com);
```
## Security Vulnerabilities
If you discover a security vulnerability within this class, please send an e-mail to John Perri Cruz at johnperricruz@gmail.com. All security vulnerabilities will be promptly addressed.
## License
This Module is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).