alex-kalanis/email-mailgun

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Mailgun mail service as part of EmailApi

dev-master 2020-12-31 15:04 UTC

This package is auto-updated.

Last update: 2021-09-29 02:38:04 UTC


README

Sending emails - via service Mailgun

Contains libraries for sending emails via Mailgun

PHP Installation

{
    "require": {
        "alex-kalanis/email-mailgun": "dev-master"
    }
}

(Refer to Composer Documentation if you are not familiar with composer)

PHP Usage

1.) Use your autoloader (if not already done via Composer autoloader)

2.) Add selected services into the "\kalanis\EmailApi\LocalInfo\ServicesOrdering" constructor. Beware additional necessary params and classes for your use case.

3.) Add Ordering and your implementation of "\kalanis\EmailApi\Interfaces\ILocalProcessing" into your "\kalanis\EmailApi\Sending".

4.) Just call sending as described in the "\kalanis\EmailApi\Sending".