• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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