alex-kalanis / email-mailgun
Mailgun mail service as part of EmailApi
v0.1.1
2024-03-29 07:29 UTC
Requires
- php: >=7.4.0
- ext-curl: *
- ext-json: *
- alex-kalanis/email-api: 2.0
- mailgun/mailgun-php: *
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- phpstan/phpstan: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: >=7.2 <=9
- shipmonk/composer-dependency-analyser: ^1.4
This package is auto-updated.
Last update: 2024-11-29 08:57:41 UTC
README
Sending emails - via service Mailgun
Contains libraries for sending emails via Mailgun
PHP Installation
composer.phar require alex-kalanis/email-mailgun
(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".