Project

General

Profile

Actions

Feature #2312

closed

Receiving an email, non plain text body to textile wiki format

Added by youngseok yi over 15 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email receiving
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

When receiving an email, non plain text body (almost html) are used as issue description.
2 options could be possible.

  • convert the html body into textile wiki format
  • force the body to plain text by stripping the markup

Also preprocessing (or manipulating) the e-mail before rdm-mailhandler.rb (if used) could be done, but it seems there are no smart converter. (maybe not a scope of redmine)

Actions #1

Updated by Jean-Philippe Lang over 15 years ago

If the email is multipart, the plain text part should be used.
Could you please attach the raw email so I can reproduce this problem?

Actions #2

Updated by Jean-Philippe Lang over 15 years ago

  • Category set to Email notifications
  • Status changed from New to Closed
  • Resolution set to Fixed

Option 2 committed in r2136.
When receiving a html-only email, tags are now stripped.

Actions #3

Updated by youngseok yi over 15 years ago

Jean-Philippe Lang wrote:

When receiving a html-only email, tags are now stripped.

Thanks. it is working well for a couple of multipart with html body.
I hope wiki formatting from html to be supported in a future :).

Actions #4

Updated by youngseok yi over 15 years ago

just for an information.
ClothRed is a project to support html2textile conversion, but no update after 0.4.1 release (April 17, 2007).

Actions #5

Updated by Digital Base about 15 years ago

would be very nice indeed to convert the html mail (images etc) to textile format...

Actions #6

Updated by Jean-Philippe Lang over 14 years ago

  • Category changed from Email notifications to Email receiving
Actions #7

Updated by Rachid B almost 13 years ago

There is a new version on github.com https://github.com/jystewart/html2textile
Maybe someone can write a handler?

Actions

Also available in: Atom PDF