I recently switched from php 7.4. to php 8.0 (with KB version 1.2.23). I use a shared hosting from Host-Europe. When I use the “Send task by email” function, I get an email where the text contains raw HTML that is not parsed.
I found out that the email header contains the FROM: and DATE: twice, e.g.
I found out that some header entries (Date:, From:, Reply-To:, MIME-Version:, Content-Type:, Content-Transfer-Encoding:) have a space character at the first column and this cause the problem.
Hi, good to get your reply again. I checked the 163 email page and it actually accepts SSL connection. I think that means smtp.163.com accepts connetion on port 587. Is this right?
Hi, alfredb. I just changed the port from 587 to 465 and the MAIL_SMTP_ENCRYPTION from tls to ssl. Then it works, I received the email successfully. BTW, thanks for your kind advice.