First Last Prev Next    No search results available
Details
: header.set.matchFromBody improvements for subject line
Bug#: 26677
: smarttemplate4
: General
Status: RESOLVED
Resolution: FIXED
: PC
: Windows NT
: unspecified
: P2
: normal
: ---

:
:
:
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Axel Grude <axel.grude@gmail.com>
Assigned To: Axel Grude <axel.grude@gmail.com>

Attachments
2.1 pre 249 (535.29 KB, application/x-xpinstall)
2019-07-01 11:10, Axel Grude
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2019-07-01 11:08
In order to set subject line to the beginning of the quoted email, some
improvements need to be made:

Currently the matched "body" part includes the original quote line
("on 01.07.2019, Axel wrote"). Also, try to handle excessive white-space / Line
breaks gracefully in order to avoid overfilling the subject line.
------- Comment #1 From Axel Grude 2019-07-01 11:10:59 -------
Created an attachment (id=8641) [details]
2.1 pre 249

With this version, you can use the following variable to insert the first 75
characters of the replied email into the subject line:

%header.set.matchFromBody(subject,"(\s*\S){1,78}",0)%

if desired, the subject line can then be extended with ellipses:
%header.append(subject,"...")%

(multiple) newlines and tabs will be collapsed and converted into spaces.
------- Comment #2 From Axel Grude 2019-07-28 06:44:38 -------
Complete: Release 2.1 - 28/07/2019

First Last Prev Next    No search results available