zguillez / z-mailgun
PHP module for Mailgun email sender
v1.0.1
2020-03-10 19:22 UTC
Requires
- mailgun/mailgun-php: ^2.8
- php-http/guzzle6-adapter: ^1.1
- php-http/message: ^1.7
This package is auto-updated.
Last update: 2025-01-11 15:32:39 UTC
README
PHP module for Mailgun email sender
Getting Started
Add package to composer.json
composer require zguillez/z-mailgun
//packaje.json
{
"require": {
"zguillez/z-mailgun": "^1.0.0"
}
}
Usage:
require 'vendor/autoload.php';
$mail = new Z\Mailgun('m.mydomain.com', 'key-****************************');
$result = $mail->send("no_reply@mydomain.com", "dummy@gmail.com", "[test] z-mailgun", "this is a test...");
var_dump($result);
Contributing and issues
Contributors are welcome, please fork and send pull requests! If you have any ideas on how to make this project better then please submit an issue or send me an email.
License
©2020 Zguillez.io
Original code licensed under MIT Open Source projects used within this project retain their original licenses.
Changelog
v1.0.0 (Mar 10, 2020)
- Initial implementation