kanboard/plugin-mailgun

Name: plugin-mailgun

Owner: Kanboard

Description: Mailgun Email Integration for Kanboard

Created: 2015-10-16 22:31:02.0

Updated: 2018-04-01 20:12:29.0

Pushed: 2018-04-01 20:13:17.0

Homepage:

Size: 65

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Mailgun plugin for Kanboard

Build Status

Use Mailgun to create tasks directly by email or to send notifications.

Author
Requirements
Installation

You have the choice between 3 methods:

  1. Install the plugin from the Kanboard plugin manager in one click
  2. Download the zip file and decompress everything under the directory plugins/Mailgun
  3. Clone this repository into the folder plugins/Mailgun

Note: Plugin folder is case-sensitive.

Use Mailgun to send emails

You can configure Mailgun from the user interface or with the config file.

Use the user interface

Set the API credentials in Settings > Integrations > Mailgun:

mailgun-kanboard-settings

Set the mail transport in Settings > Email Settings:

mailgun-mail-transport

  1. Define an authorized email sender (an email address with the same domain as the one registered in Mailgun)
  2. Select “Mailgun” as mail transport and save
Use the config file (alternative method)

Define those constants in your config.php file to send notifications with Mailgun:

e choose "mailgun" as mail transport
ne('MAIL_TRANSPORT', 'mailgun');

ailgun API key
ne('MAILGUN_API_TOKEN', 'YOUR_API_KEY');

ailgun domain name
ne('MAILGUN_DOMAIN', 'YOUR_DOMAIN_CONFIGURED_IN_MAILGUN');

e sure to use the sender email address configured in Mailgun
ne('MAIL_FROM', 'sender-address-configured-in-mailgun@example.org');
Use Mailgun to create tasks from emails

This integration works with the inbound email service of Mailgun (routes). Kanboard use a webhook to handle incoming emails.

Mailgun configuration

Create a new route in Mailgun control panel:

Mailgun Route

  1. Select “Match recipient” for expression type
  2. In the recipient field, enter the email address of the Kanboard project
  3. In the action field, copy and paste the Mailgun Webhook URL from Kanboard

The Mailgun webhook url is displayed in Settings > Integrations > Mailgun.

Make sure your application URL is correctly defined otherwise the generated URL will be wrong.

Kanboard configuration

You must define an email address for your project:

Project Settings

  1. Set an email address for your project (in Edit Project)
  2. The sender email address must be same as the user profile in Kanboard
  3. The user must be member of the project
Notes
Changes
Version 1.0.9
Version 1.0.8
Version 1.0.7

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.