Skip to content

johnperricruz/php-send-mail-class-using-default-smtp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

PHP Send Mail using default SMTP

Usage :

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.

Releases

No releases published

Packages

No packages published

Languages