Michael Heydekamp wrote:
> Please apologize this possible silly question, but I'm not a PHP developer.
> In sendmail.inc, I see the following statement:
> 
>> // set line length for body wrapping
>> $LINE_LENGTH = $RCMAIL->config->get('line_length', 72);
> 
> Do I understand it correctly that RC first reads the setting
> "$rcmail_config['line_length']" in main.inc.php (which we have set to 76),
> and only if it does not exist, it will use a default value of 72?

That's what rcube_config::get() does. The second argument is the default
fallback value.
> 
> And does this statement apply to un-quoted lines only (and only if
> format_flowed = false), or to both un-quoted and quoted lines?
> 
> I just need to know which behaviour for un-quoted and quoted lines is the
> deliberate one, before I'm creating a senseless ticket in the bugtracker.

See function rcmail_wrap_and_quote() in program/steps/mail/func.inc.
Already quoted lines are not supposed to be wrapped again. At least this is
the case in git-master. The wrapping behavior might be different in older
version or Roundcube.

~Thomas
_______________________________________________
Roundcube Development discussion mailing list
dev@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/dev

Reply via email to