alex-kalanis / email-php-mailer
Basic mailer in PHP for everyday use
v0.1.1
2024-03-29 07:31 UTC
Requires
- php: >=7.4.0
- alex-kalanis/email-api: 2.0
- phpmailer/phpmailer: >=6.1
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:51:29 UTC
README
Sending emails - via classical PHP Mailer
Contains libraries for sending emails via PHPMailer - set it yourself
PHP Installation
composer.phar require alex-kalanis/email-php-mailer
(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".