View Issue Details

IDProjectCategoryView StatusLast Update
0001400mantisbtemailpublic2021-03-09 14:05
Reporterepu Assigned Tovboctor  
PrioritynormalSeverityfeatureReproducibilityN/A
Status assignedResolutionopen 
Summary0001400: Feature to send HTML-formatted e-mail instead of text e-mail
Description

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.

Relationships

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 

Activities

pascalvmf

pascalvmf

2002-03-21 01:49

reporter   ~0002152

Last edited: 2017-05-30 02:50

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.

:)

vboctor

vboctor

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.

anarcat

anarcat

2005-08-04 12:06

reporter   ~0011071

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

ToMaZi

ToMaZi

2016-12-20 05:04

reporter   ~0054803

Is there any roadmap for this fontionnality ?

libregeek

libregeek

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.

atrol

atrol

2017-05-30 02:53

developer   ~0056988

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

There is no such option.

r.zobel

r.zobel

2017-08-24 03:44

reporter   ~0057545

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

gabor42

gabor42

2018-01-26 08:16

reporter   ~0058616

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

lbayle2

lbayle2

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

https://www.mantisbt.org/forums/viewtopic.php?f=4&amp;t=3786

atrol

atrol

2018-01-29 13:12

developer   ~0058664

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

Can't reproduce, works for me

samtuke

samtuke

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.

samtuke

samtuke

2018-10-30 07:01

reporter   ~0060876

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

atrol

atrol

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

https://www.mantisbt.org/forums/viewtopic.php?f=4&t=3786