View Issue Details

IDProjectCategoryView StatusLast Update
0001400mantisbtemailpublic2020-06-12 19:57
Reporterepu Assigned Tovboctor  
Status assignedResolutionopen 
Summary0001400: Feature to send HTML-formatted e-mail instead of text e-mail

Mantis currently sends text e-mail, but no content type is sent in the e-mail header. Admins can allow users to post using HTML tags, but e-mail is always sent as unformatted text with HTML displayed in-line.

To give users flexibility of viewing a bug's HTML in their e-mail body, Mantis needs to allow admins to send HTML-formatted e-mail of header type "Content: Text/HTML".

Additional Information

Messages sent as Text/HTML need to display HTML tags, and have the ability to not parse code examples with a < pre > < /pre > style parse exclusion tag.
related to bug 0001353.

TagsNo tags attached.


related to 0001353 closedupdater Mantis sends HTML in text-only emails 
has duplicate 0010064 closedatrol Add HTML support to emails 
has duplicate 0019478 closedatrol Colorize e-mail reports 
has duplicate 0021700 closedatrol Support HTML emails with Modern UI compitable layout 
has duplicate 0024660 closedatrol send emails in HTML format instead of Plain Text 
has duplicate 0027026 closedatrol HTML email support 
related to 0006829 closedgrangeway emails design should be improved 
related to 0001401 new Request option to strip HTML from text-only e-mail 
related to 0012830 new new HTMLMail plugin v0.1 
related to 0022299 closedatrol Markdown 
related to 0024038 closedatrol Besoin Plugin HTMLMail V2.0 




2002-03-21 01:49

reporter   ~0002152

Last edited: 2017-05-30 02:50

View 2 revisions

BEWARE with text only mail option :
Some localized texts (french for example) contain accentuated chars expressed as HTML elements like the following :

Projet:                     EFICHES
Bug ID:                     0000001
Catégorie:           Module ANNU
Reproductibilité:    toujours
Sévérité: cosmétique
Priorité:            normale
Etat:                       affecté
Date de soumission:         20-03-02 23:34 CET
Dernière modification: 21-03-02 09:32 CET

this render the email unreadable.

So this kind of HTML elements SHOULD be striped from localized strings in TEXT ONLY emails.




2004-10-05 08:29

manager   ~0007909

Whether the email is text or html should be a user preference. The default for new users should be specified in configs.



2005-08-04 12:06

reporter   ~0011071

there's no need to have html entities in the email if the encoding is specified properly.



2016-12-20 05:04

reporter   ~0054803

Is there any roadmap for this fontionnality ?



2017-05-30 02:39

reporter   ~0056985

@vboctor Is there a config item to change the email content type? I checked config_defaults, but couldn't find one.



2017-05-30 02:53

developer   ~0056988

Is there a config item to change the email content type?

There is no such option.



2017-08-24 03:44

reporter   ~0057545

Hi, the ticket is over 15 years old. Are there any news to this feature request?



2018-01-26 08:16

reporter   ~0058616

+1 We still need this feature to format subject and email template.



2018-01-29 12:14

reporter   ~0058662

this patch worked for me.
I think this feature is more than a nice to have as it breaks the "forgot your password" link in the email;t=3786



2018-01-29 13:12

developer   ~0058664

as it breaks the "forgot your password" link in the email

Can't reproduce, works for me



2018-10-30 07:00

reporter   ~0060875

If the patch referred to by @ibayle2 works and causes no breakages, can it find it's way into a PR and release? Is something blocking this?

HTML welcome emails on new registrations would be very much more welcoming.



2018-10-30 07:01

reporter   ~0060876

Now I see the forum topic was deleted. Anyone still have a copy of the patched files?



2018-10-30 07:21

developer   ~0060877

Now I see the forum topic was deleted

It's not deleted, but there is a known issue with rendering of parametrized links if Markdown is enabled
Use this link

Issue History

Date Modified Username Field Change
2004-10-05 08:29 vboctor Note Added: 0007909
2004-10-05 08:29 vboctor Status new => acknowledged
2005-08-04 12:06 anarcat Note Added: 0011071
2006-03-09 13:02 ryandesign Relationship added related to 0001353
2006-03-09 13:16 ryandesign Relationship added related to 0006829
2007-01-24 16:24 DGtlRift Relationship added related to 0001401
2010-12-27 15:18 atrol Relationship added has duplicate 0010064
2012-03-05 15:41 atrol Relationship added related to 0012830
2015-03-11 17:29 atrol Relationship added has duplicate 0019478
2015-08-29 23:01 vboctor Assigned To => vboctor
2015-08-29 23:01 vboctor Status acknowledged => assigned
2016-09-20 12:43 atrol Relationship added has duplicate 0021700
2016-12-20 05:04 ToMaZi Note Added: 0054803
2017-02-03 00:14 vboctor Relationship added related to 0022299
2017-05-30 02:39 libregeek Note Added: 0056985
2017-05-30 02:50 dregad Note Edited: 0002152 View Revisions
2017-05-30 02:53 atrol Note Added: 0056988
2017-08-24 03:44 r.zobel Note Added: 0057545
2018-01-26 08:16 gabor42 Note Added: 0058616
2018-01-29 12:14 lbayle2 Note Added: 0058662
2018-01-29 13:12 atrol Note Added: 0058664
2018-02-23 05:55 atrol Relationship added related to 0024038
2018-08-11 04:02 atrol Relationship added has duplicate 0024660
2018-10-30 07:00 samtuke Note Added: 0060875
2018-10-30 07:01 samtuke Note Added: 0060876
2018-10-30 07:21 atrol Note Added: 0060877
2020-06-12 19:57 atrol Relationship added has duplicate 0027026