[RCU] How to get RC to stop wrapping lines of a plain text message?
Kaz Kylheku
937-737-6257 at kylheku.com
Thu Apr 21 18:08:00 CEST 2022
On 2022-04-21 08:33, Kaz Kylheku wrote:
> I'm using Roundcube 1.4.13, packaged by Debian 11.
>
> I changed the following settings (see diff below) and restarted Apache.
>
> RC is still wrapping lines when I compose a message, and saving
> it that way to Drafts.
>
> Is there anything else to try before going into the code?
Looks like this might be it:
--- a/usr/share/roundcube/program/include/rcmail_sendmail.php
+++ b/usr/share/roundcube/program/include/rcmail_sendmail.php
@@ -281,7 +281,7 @@ class rcmail_sendmail
public function create_message($headers, $body, $isHtml = false, $attachments = array())
{
$charset = $this->options['charset'];
- $flowed = $this->options['savedraft'] || $this->rcmail->config->get('send_format_flowed', true);
+ $flowed = $this->rcmail->config->get('send_format_flowed', true);
// create PEAR::Mail_mime instance
$MAIL_MIME = new Mail_mime("\r\n");
Why would you do that?
'savedraft' means we want flowed, even though the user config doesn't want flowed?
More information about the users
mailing list