summaryrefslogtreecommitdiff
path: root/doc/plugin-mail-transports.markdown
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-12-06 23:00:58 -0500
committerFrederic Guillot <fred@kanboard.net>2015-12-06 23:00:58 -0500
commit7f3bf38e8db9288d92f2864be4f66b14adf80971 (patch)
tree57c5d31876ba50c1674736493f58d9ab4e59474b /doc/plugin-mail-transports.markdown
parent5c84996ee7140e2cff1d8e18fb9482e8a4c020a8 (diff)
Fix typo in documentation
Diffstat (limited to 'doc/plugin-mail-transports.markdown')
-rw-r--r--doc/plugin-mail-transports.markdown6
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
----------------------------------