Email Received as Plain Text(HTML tags) and not Correct

This plugin allows you to report an issue in MantisBT by sending an email to a particular mail account

Moderators: Developer, Contributor

Post Reply
m0vidaHattie
Posts: 26
Joined: 18 Jan 2021, 09:10

Email Received as Plain Text(HTML tags) and not Correct

Post by m0vidaHattie »

Hello,

When someone is sending a ticket through E-mail.
MantisBT is opening a ticket as follows:

Note: i have enabled the following:
Image

How is possible to fix that and the ticket to be opened correctly?

Thanks a lot.


<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-7">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.EmailStyle18
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>

.......................
Attachments
parsehtmlm.png
parsehtmlm.png (6.67 KiB) Viewed 4430 times
SL-Gundam
Posts: 725
Joined: 06 Jul 2011, 14:17

Re: Email Received as Plain Text(HTML tags) and not Correct

Post by SL-Gundam »

Are you getting that html code in your MantisBT ticket?
Which version of EmailReporting are you running?

Please enable EmailReporting debug mode and reproduce the issue
It should write a raw_msg en parsed_msg.
Please provide those (via private message if necessary).
m0vidaHattie
Posts: 26
Joined: 18 Jan 2021, 09:10

Re: Email Received as Plain Text(HTML tags) and not Correct

Post by m0vidaHattie »

Everything is working ok.
i enabled the MantisBT Formatting, and everything works nice and smooth.

Thank you.
Post Reply