diff options
author | Gerardo Zamudio <gerardozamudio@users.noreply.github.com> | 2016-02-24 23:48:50 -0600 |
---|---|---|
committer | Gerardo Zamudio <gerardozamudio@users.noreply.github.com> | 2016-02-24 23:48:50 -0600 |
commit | e4de6b3898b64b26d29aff31f21df5fda8055686 (patch) | |
tree | 575f8a65440f291d70a070d168eafca8c82a6459 /doc/plugin-mail-transports.markdown | |
parent | d9ffbea174ea6524d0a22f8375ca8b3aa04a3c96 (diff) | |
parent | a6540bc604c837d92c9368540c145606723e97f7 (diff) |
Merge pull request #1 from fguillot/master
Update from upstream
Diffstat (limited to 'doc/plugin-mail-transports.markdown')
-rw-r--r-- | doc/plugin-mail-transports.markdown | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/plugin-mail-transports.markdown b/doc/plugin-mail-transports.markdown index cb7dd6ce..33ce5e3b 100644 --- a/doc/plugin-mail-transports.markdown +++ b/doc/plugin-mail-transports.markdown @@ -8,12 +8,12 @@ By default Kanboard supports 3 standards mail transports: - Sendmail command With the plugin API you can add a driver for any email provider. -By example, your plugin can add a mail transport for a provider that uses an HTTP API. +For example, your plugin can add a mail transport for a provider that uses an HTTP API. Implementation -------------- -Your plugin must implements the interface `Kanboard\Core\Mail\ClientInterface` and extends from `Kanboard\Core\Base`. +Your plugin must implement the interface `Kanboard\Core\Mail\ClientInterface` and extends from `Kanboard\Core\Base`. The only method you need to implement is `sendEmail()`: @@ -40,7 +40,7 @@ To register your new mail transport, use the method `setTransport($transport, $c $this->emailClient->setTransport('myprovider', '\Kanboard\Plugin\MyProvider\MyEmailHandler'); ``` -The second argument contains the absolute namespace of your concrete class. +The second argument contains the absolute name space of your concrete class. Examples of mail transport plugins ---------------------------------- |