Hello,
I’ve installed kanboard 1.2.36 on a webspace, I’ve got no root access.
I am using the php mail feature to send mails, which is basically working (mails are send) but the HTML content of the mail is not rendered by the mail client as it seems to be invalid:
This is the content send for a user invite:
<p>
You have been invited to register on Kanboard.</p>
<p>
=
<a href=3D"https://naxxxx.eu/work/?controller=3DUserInviteController&a=
mp;action=3Dsignup&token=3Dfb360cfeebefc99e93e83132393ad84ee30b52658dd1=
1a241853dde313f7" class=3D"" title=3D'' target=3D"_blank">Click here to joi=
n your team</a></p>
<hr>
<a href=3D"https://naxxxxx.eu/wo=
rk/">Kanboard</a>
As I am totally new to kanboard I don’t know how to fix this problem.
Best regards
Norbert
Thank you for your reply,
I tested with thunderbird, outlook 2019 and Gmail-Client on Android, all look the same. No rendering of the HTML.
The same with e.g. the information mail to a subtask that is send out. I checked the source of the mail send out. It seems as if it is missing the Information about the MIME-Version and Content-Type etc.
The kanboard mail looks like this, the top line is the last line with X-Headers…
X-CMAE-Envelope: MS4xfByHQede2A9xL7yzul9qOpSkGEOJ0v0nGq61VzfSNuCMt/4dHUKDM43h7rhDm2Ht5iWbEs2bKAjBsj6I8455h+mPZQCqdl7vp20+Vm1K4c7UsTZRbF6n
2GSlioOHlKHIC4MqkiEl6xd8V0GFFeVTChuv82NXfvg9jpdRXjqTA8AOZcWiH1n2HVerG7+mppwcTg==
<html>
<body>
<h2>Another thing to do (#2)</h2>
<h3>New sub-task</=
h3>
On an other HTML mail that I receved it looks like this:
X-Accounttype: pr
Content-Type: multipart/alternative; boundary="_----------=_MCPart_1197743081"
MIME-Version: 1.0
This is a multi-part message in MIME format
--_----------=_MCPart_1197743081
Content-Type: text/plain; charset="utf-8"; format="fixed"
Content-Transfer-Encoding: quoted-printable
then the content, later
--_----------=_MCPart_1197743081
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE html><html xmlns=3D"http://www.w3.org/1999/xhtml" xmlns:v=3D"urn=
:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-microsoft-com:office:of=
fice"><head>
<!--[if gte mso 15]>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
<![endif]-->
<meta charset=3D"UTF-8" />
So maybe I have to configure either that the mail should be plain text or Multipart MIME.
The mails you receive, are they stating the multi-part message in MIME format and Content-Type: Headers?