zguillez/z-mailgun

PHP module for Mailgun email sender

v1.0.1 2020-03-10 19:22 UTC

This package is auto-updated.

Last update: 2024-04-11 13:45:48 UTC


README

License

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