Create tasks / comments by email

Sorry, but I cannot see your point. I consider ONE mail account per Kanboard instance as sufficient.
So, I can address every project and every task. But having a dedicated account for Kanboard only is an advantage, to keep things separated from the remaining e-mails.

my kanboard has severl projects for business, freelance, personal and also a charity. I could either install 3 kanboard setups or keep one for all 3. Maximum of 3-4 users across all topics.

So basically, you expect me to create mykanboard@hotmail.com instead of using the existing email addresses for the kind of work i do.

honestly, if you used docker containers, 40 instances of kanboard wouldnt be an issue whatsoever, but im not here to tell you your doing it wrong.

i think your idea of how this should work is somewhat different than our thoughts.

im also unsure why you have to stop using your existing emails…thats confusing.

1 Like

Hello, I’m the original poster. It’s impressive how quickly people here work on Kanboard.
These are my comments regarding making this plugin to work. Just giving you my 2 cents from the perspective of a newbie, in case that might be helpful:
– I used the mailmajik plugin after I searched for “email” in the plugins directory and finally figured out this is the plugin this discussion is about. There is no date-added in plugin directory so I was not totally sure if this the plugin or if mailmajik is an older plugin that does something similar.
– I was looking for instruction until I clicked on the plugin link which took me to github page and then scrolled down.
– I like the enthusiastic and friendly tone of the instructions.
– setting up gmail imap was relatively straight forward. I was not sure to put port number for incoming or outgoing mail. Just newbie confusion. I realized I need to put outgoing port (993) when I saw the screenshot in the instructions.
– Then I saw the instructions “In order to setup automatic conversions of email, you will need to add the Actions to the project.” I could have very easily missed this. I would bolden this or create separate header for it. I would not be looking for this had I not reviewed this discussion thread. Or maybe right at the beginning of the instruction state the steps required in a list.
– I was not sure how many actions are related to this plugin. I found two:

  • Automatically Convert Emails to Tasks
  • Automatically Convert Emails to Comments

There are three features stated in the github instructions:

So I wasn’t sure if there is yet another action I need to install.

Also not stated in the instructions (or i didn’t see it) is whether user also need to fill in the EMAIL field in the Project > Edit Project page. I did.

After setting up the plugin, I am having this issue:

When I follow instructions and click on TASK EMAIL inside a task, it works on it for a moment and then I get the following error:
IMAP Server connection could not be established!
I setup imap with gmail:

It seems gmail no longer allows imap access to “less secure apps” Less secure apps & your Google Account - Google Account Help
So now I’m using the imap of my website hosting.
Now when I click on TASK EMAIL the wheels start turning trying to contact server. But eventually I get a timeout error from cloudflare. Do I need to change somehting with cloudflare’s setup?

Well, it still works. But you have to create and use an app-password.

Trying smtp.gmail.com is terribly wrong and cannot work. I’s IMAP to use.

it would be imap.gmail.com not smtp.

i dont recommend gmail, i always had issue with gmail, it works but eventually gmail blocks the app, at least from my experience.

use gmx. its free and ive had no issues.

ill look at improving the instructions, but yes 2 actions is all there is, the 3rd feature is the task email link in the side bar.

Hello, Many thanks for your replies.
I’m wondering if I’ve made a mistake somewhere in installation because ANY imap I try to setup doesn’t work.
Attached you see screenshots of my attempts with both gmail and my own domain. When click on TASK EMAIL I get the error: IMAP Server connection could not be established!
@creecros gmx doesn’t work for me because I’m currently in Iran and they don’t serve Iranian IP’s.
Screenshot 2023-02-12 215758
Screenshot 2023-02-12 214557

Can you receive ANY emails over IMAP port 993 with other apps, like thunderbird?

lets start simple.

did you install any requirements?

@alfredb I just downloaded Thunderbird and it works perfectly with the same imap settings I was trying on setting up mailmajik.

1 Like

@creecros I have kanboard installed at my host (ChemiCloud) on a shared account. So definitely I am not on a docker server.

Regarding php 7.4 check, forgive my total ignorance, but how do I run
the
php -m | grep -i imap
$ sudo apt-get install php-imap
$ sudo apt-get install php7.4-imap
$ sudo apt-get install -y php-fileinfo

Do I need to connect using some kind of SSH command prompt? It’s a whole bunch of setup with public and private keys. So if there’s another way to check, please let me know. Currently, I have no trouble connecting to it’s imap using Thunderbird.

Create/upload a single PHP file containing

<?php
 phpinfo();

Then call this file with your browser. You should get all the information you need.

if you havent installed the pre reqs, it wont work.

thunderbird is not php running on your server, so thats irrelevant.

the below is command line, for debian based distros.

php -m | grep -i imap
$ sudo apt-get install php-imap
$ sudo apt-get install php7.4-imap
$ sudo apt-get install -y php-fileinfo

i have no idea what your server is, or what modules you have on it, so i cant tell you exactly what the commands would be without knowing. but if you are on a shared host with no access to command line, that may not work for you anyway.

i think you can enable the extensions in your php.ini file, see below link.

I think the problems are related to the fact, that more and more providers stop allowing plaintext-authentication for accessing IMAP-accounts.

This seems to be an issue for many PHP-solutions, because currently it looks like there is no solution to this problem yet. Look here:
https://wiki.php.net/todo/ext/imap/xoauth2

Cheers,
Manfred

ya, which is why i abandoned this plugin 2 years ago. after i read that.

alfred however figured out how to make it work with gmail, gmx works fine too. and we are 3 years into the future, so its definitely usable. might not be for everybody.

1 Like

i took a look at this real quick and noticed the demo has a “Terminal”, so getting to the command line should be a button click away for you.

Hi @creecros, i ran the commands on my hosting account. It does not recognize sudo. But imap is installed:

Screenshot 2023-02-13 113822
Should I work on php ini option or imap being installed is good enough?