Ok, i updated the repo, now works with latest KB and php 8.
Also added a basic email to task converter, as an automatic action, so that it will run in the cron. did not get a chance to get the attachments working during conversion to task, but i already spent more time on it than i had. I’ll leave the rest to who ever wishes.
There are no instructions, but basically, set the Action up in a project, then send the mail to the that project, i.e. Project#1<name@email.com>
to send a mail to a task, same thing: Task#1<name@email.com>
And added Action to convert Emails to Comments.
Use CommentOnTask#1<name@email.com> once the action is activated within a project. It will not work unless the task you are adding a comment to via email, exists within the project where the action is setup, by design.
Yes, I hear you, took me a while to figure out as well. It was the UploadContent() in the filemodel that finally worked. Beat my head over that for a while!
something to point out. while i was mapping the message to the description, and is obvious, emails are either html or plain text. im using plain text, because the description is rendered in markdown, so if i send the html data you will see all the html code.
so, for my future self, it may be worth converting html to markdown, to keep inline images etc…how plausible this is, i dont know.
might be worth looking into this library for the conversion:
although, I do believe MarkdownPlus will render the html…
#2 and #3 are cronjob options but… #1 is for emails into a task (via a button click)… that i guess would be into a comment, but what about appending/replacing the task description from the email? then users can email descriptions (content) which can be manually or auto updated into a task… its just an open discussion…
need to detail whats recognised in the email content… any due dates, tags etc etc… I guess there should be screenshots with docs… if you want me to do it, add me to the repo (prefer if the branch is ‘master’ so i dont make mistakes in my git), (also gives me a push to install and test plugin) but im fixing all the css stuff in Customizer today before trying to make it compatible with ApplicationBranding
please enable discussion in Customiser also, it comes useful for quick short code-specific chat
so basically, you want buttons? That I can do, relatively easy.
As for the email content, that becomes the Description for a task, and the Content of a comment.
You could add some parsing into the subject if you want a way to add a due date or tags, but this does complicate it, probably more than im willing to invest. I’ll add anyone who wants to as a collab, or merge any PRs for this.
Now that we have two great actions to create tasks and add comments to tasks, the feature “e-mail to task” is IMHO somewhat obsoleted. Maybe we should remove it again.
Just my 2 cents.