Email invitation: invalid HTML

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&amp;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

I guess, this must be your client. My invitation code looks as weird as yours, but is rendered correctly in several clients.

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?

Regards
Norbert

No Multipart, just HTML.

Subject: Kanboard Invitation
X-PHP-Originating-Script: 10316:SimpleMailInvoker.php
Message-ID: <2630a434e32491d3407115d6e6e23a1f@***>
Date: Fri, 17 May 2024 15:18:06 +0200
From: Alfred =?utf-8?Q?B=C3=BChler?= via Kanboard
 <***>
MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Auto-Submitted: auto-generated

image

Thunderbird 115.10.1

To: "sxxxx@xxxxx.de" <sxxxxx@xxxxxx.de>
Subject: Kanboard Invitation
Message-ID: <effc9c5bf1492bf525c0666a7641df13@nxxxxxx.eu>
 Date: Wed, 15 May 2024 19:00:54 +0000
 From: Norbert Schmidt via Kanboard <root@nxxxxx.eu>
  MIME-Version: 1.0
 Content-Type: text/html; charset=utf-8
 Content-Transfer-Encoding: quoted-printable
 Auto-Submitted: auto-generated
From: root@nxxxxxx.eu
Date: Wed, 15 May 2024 21:00:54 +0200
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - lhc.wexxxx.net
X-AntiAbuse: Original Domain - naxxxxx.eu
X-AntiAbuse: Originator/Caller UID/GID - [1393 1396] / [47 12]
X-AntiAbuse: Sender Address Domain - nxxxxx.eu
X-Get-Message-Sender-Via: lhcp3131.wexxxx.net: authenticated_id: pa44mtv4/from_h
X-Authenticated-Sender: lh.wxxxxxet: root@nxxxxxx.eu
X-CMAE-Envelope: MS4xfB6TDtRYF2IN+il6YHivnWxxpvYQ1ZBMdiKk3+Oi0w0CdanUut9g3jEfpEulIomFCDwHCmPt+svu70kBnmo7uImkNI+PmCumzUQ4f5L+Wh4Z60gIhaQf
 8MUxE0mwXibjnusLlO5hjKy5UoSKKos250x6kjCQ+JB5xIHkNjk0gNEVNP5neb+JIvd+ILONCbT58g==

<p>
    You have been invited to register on Kanboard.</p>

<p>
   =
 <a href=3D"https://narcolepsy.eu/work/?controller=3DUserInviteController&a=
mp;action=3Dsignup&amp;token=3Dfb360cfeebefc99e93e83132393ad84ee30b52658dd1=
1a241853dde313f7" class=3D"" title=3D'' target=3D"_blank">Click here to joi=
n your team</a></p>

    <hr>
    <a href=3D"https://narcolepsy.eu/wo=
rk/">Kanboard</a>

kanboard
Thunderbird 115.10.2

Could the X-Headers after the Date: be the problem?

To: xxxx@xxxxx.de
Subject: Kanboard Invitation
Message-ID: <6b56e9de6183cd6ac08e9fbda24961ab@nxxxxxeu>
 Date: Wed, 15 May 2024 14:07:03 +0000
 From: Norbert Schmidt via Kanboard <root@nxxxxx.eu>
  MIME-Version: 1.0
 Content-Type: text/html; charset=utf-8
 Content-Transfer-Encoding: quoted-printable
 Auto-Submitted: auto-generated
From: root@nxxxxx.eu
Date: Wed, 15 May 2024 16:07:03 +0200
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - lhpps.net
X-AntiAbuse: Original Domain - nxxxxxx.eu
X-AntiAbuse: Originator/Caller UID/GID - [1393 1396] / [47 12]
X-AntiAbuse: Sender Address Domain - nxxxxx.eu
X-Get-Message-Sender-Via: lhpps.net: authenticated_id: pa44mtv4/from_h
X-Authenticated-Sender: lhddfdgsdg.net: root@nxxxxxxxxx.eu
X-CMAE-Envelope: MS4xfC89IINwLqLa9SrQUiB9jCnJIbBVCJY+L6wwZjeXnQn44T6hsWYuVUdpoMaYzbsgDhurflxr8fHbygBWt87JPv4JzAdT3obIwJbJ3OtFEGMR4NxZ5JS5
 XaHP4AFKDBhbijZPVgofGg7KejQxHigCBC+oE3HbhMtr7TmWqTJOfLg3meQvLNYyiBtytmNnvr1iJg==

<p>
    You have been invited to register on Kanboard.</p>

<p>
   =
 <a href=3D"https://narcolepsy.eu/work/?controller=3DUserInviteController&a=
mp;action=3Dsignup&amp;token=3D2baa800072f9638c174bf71244ddf2290eaddea29fe8=
d56d5dd311961933" class=3D"" title=3D'' target=3D"_blank">Click here to joi=
n your team</a></p>

    <hr>
    <a href=3D"https://narcolepsy.eu/wo=
rk/">Kanboard</a>

kanboard
Thunderbird 115.11.0