summaryrefslogtreecommitdiff
path: root/app/Core/EmailClient.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-06-13 13:17:16 -0400
committerFrederic Guillot <fred@kanboard.net>2015-06-13 13:17:16 -0400
commitf2abf339120751f11f729606b46927332f886a1d (patch)
tree46976ea48e812b18903b2bde2d84ab113bc0708f /app/Core/EmailClient.php
parent7ba9b2d9b9b8426aacabcb7e3e4a0c08d2be5444 (diff)
Add Sendgrid as mail transport
Diffstat (limited to 'app/Core/EmailClient.php')
-rw-r--r--app/Core/EmailClient.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Core/EmailClient.php b/app/Core/EmailClient.php
index 07687c42..b1986502 100644
--- a/app/Core/EmailClient.php
+++ b/app/Core/EmailClient.php
@@ -31,6 +31,9 @@ class EmailClient extends Base
}
switch (MAIL_TRANSPORT) {
+ case 'sendgrid':
+ $this->sendgrid->sendEmail($email, $name, $subject, $html, $author);
+ break;
case 'mailgun':
$this->mailgun->sendEmail($email, $name, $subject, $html, $author);
break;