alex-kalanis/email-php-mailer

Basic mailer in PHP for everyday use

dev-master 2020-12-30 16:00 UTC

This package is auto-updated.

Last update: 2022-04-29 01:42:10 UTC


README

Sending emails - via classical PHP Mailer

Contains libraries for sending emails via PHPMailer - set it yourself

PHP Installation

{
    "require": {
        "alex-kalanis/email-php-mailer": "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".