• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Issue Email untimely line break

Erwan

Regular Pleskian
Server operating system version
Linux / Centos
Plesk version and microupdate number
Obsidian v18.0.43
Hi all,

We are encountering a strange problem. We have an application that is several years old that generates emails. Until recently no problems.

For some time, a newline every n characters is inserted in the text of the body during generation.
The content was checked before the build, it doesn't have the problem.

Configuration:
Plesk Obsidian v18.0.43
Dovecot 2.3.18-2
Postfix 3.5.14-2

Do you have an idea?

Erwan
 
I think I remember having seen the same in older projects. The solution was to insert a line wrap in the email message source code before 1024 minus checksum characters, e.g.
$message = rtrim(wordwrap($message, 900));
because else a single text chunk in the mail body that needs to be transported gets too long so that email clients insert an extra "line break" randomly. It had at least something to do with chunk length in the rendered email for transport.
 
Big Peter!
Thank you very much!

I had encountered this several years ago but I no longer saw at all what I could have done at the time.
 
Back
Top