+ Add Question

Incorrect handling of multipart HTML emails

I've been looking over the forums about HTML emails but didn't see a satisfactory response and hence this question.

Is it possible to process the emails that I forward as HTML and display the actual HTML in the task note instead of a plain text representation of it?

All responses

Abhas premium
Replied on Jul 11, 2014 - 18:12

I forgot to add that I am using Thunderbird to forward emails to a project and to label the tasks. The reason I don't use the Thunderbird built-in plugin to add an email as a task is that it requires too much work with the mouse pointer.

Forwarding an email with the labels in the subject is simpler and can be achieved completely with the keyboard.

David Trey staff
Replied on Jul 11, 2014 - 18:13

Hello Abhas,

That's unfortunately not possible as the notes section of tasks itself doesn't support HTML. That is - it doesn't parse it, only adds whatever it finds in the message as text.

We may consider adding such option in the future, though it's always a security risk to allow "executing" any code this way.


Best regards,
David

Abhas premium
Replied on Jul 11, 2014 - 20:02

Okay I understand the security part but there can be a way to sanitize the HTML before displaying it. Or if you could limit the number HTML tags, I could use just limit it to those tags.

Another suggestion would be to support Markdown and convert form text to Markdown on the fly.

How about inline images? Could those be displayed in the task notes instead of as an attachment?

David Trey staff
Replied on Jul 11, 2014 - 20:05

Abhas,

That's true and we may indeed consider this for future updates :-) As for images - if you upload an image, you would see a thumbnail in most cases, though when it comes to sending tasks via email that won't work, unfortunately.


Best regards,
David