How can we help you today?

Go ahead and ask us anything.

See the KanBo newest version.

Setting up KanBo Email Notifications on Azure

Last modified:

Email notifications Azure installation o365 Office365

Following article describes configuration of KanBo email notifications. Only unread notifications are sent by email. Each user can tun it on or off individually and specify sending intervals.

Step 1: Prepare email notifications package

Unzip the KanBo.ConsoleJobHostRunner to the desired location. The location can be for example a folder named "Email Notifications".

Step 2: Update KanBo.EmailNotifications.exe.config file with your parameters

For detailed information about configuration follow the attached job.email-notifications.md file.

1. Copy the connection string from the KanBo web.config and put them to the KanBo.ConsoleJobHostRunner.exe.config into <connectionStrings> section.

<connectionStrings>
 <add name="KanBoContentConnectionString" connectionString="Data Source=Server,1433;Database=KanBoContentName;User ID=UserID;Password=UserPassword;MultipleActiveResultSets=True" providerName="System.Data.SqlClient" />
 </connectionStrings>

2. Configure the plugins section by filling up the information in brackets.

<package name="auth-aad" 
client-id="{Client ID from the Azure Active Directory App Registration}" 
tenant="{Tenant ID from the Azure Active Directory App Registration}" 
thumbprint="{KanBo Certificate thumprint}"/>
<package name="webjob.email-notifications"
thumbprint="{KanBo Certificate thumprint}"
kanbo-url="https://{Your KanBo URL}"
from="{Email address of the account that will send the notification emails}"/>

Step 2: Create a WebJob on Azure

After the config is updated, pack all the files inside the folder into a .zip package that will be used to create an Azure Webjob.

To create a webjob, follow the steps from this article: https://docs.microsoft.com/en-...

Name the job "KanBoEmailNotifications" and set the CRON expressions to "0 */15 * * * * "

Step 3: Enable Email notifications in KanBo web.config

Open KanBo web.config and find “<add key="KanBoEmailNotifications" value="true" />” and ensure value is set to true and save the web.config.


Step 4: Turn email notifications on you KanBo account

First, You should make sure that You have Your email address set in Your KanBo User Profile.

Next, navigate to "My settings" by clicking on your user picture.



My Settings section will appear. Enter Notifications and set email notifications. You can disable them or configure them to appear every 15 minutes, 60 minutes or 24 hours.


From now on when you have a new notification in KanBo and you don't read it within KanBo or on your mobile App you will get email summing up all your unread KanBo notifications. Blow you can see an example of an email generated by KanBo.


 Recommendation: Set an Outlook retention policy to remove old messages

In order to not allow your Email Notifications mailbox to clog up, set a simple rule to clean messages older than a week.

1. As Exchange Administrator, got to Exchange Admin Center -> Compliance Management -> Retention Tags. Create a new rule "applied automatically to a default folder.

2. Find out a name, select this tag to apply to Sent items only and choose retention period to 7 days.

3. Go to retention policies and create a new Retention policy with this retention tag assigned.

4. Go to recipients, select your Email Notifications account and then in Mailbox features select your newly created Retention Policy.



This article was helpful for 1 person. Is this article helpful for you?