Activity

  • Arinaya started the question Reply by email: thunderbird/outlook reply text in the forum Requests and Feedback 8 years ago

    It would be nice to have the ability to configure additional regex patterns for stripping out signature/reply boilerplate.

    I added these lines to my rbe-processor.php, but it would probably be better to make it configurable (allowing site admins to adapt to the localization/patterns of their users’ email programs).


    // strip standard thunderbird reply text
    $body = preg_replace("/.*On .*, .* wrote:/s", "$1", $body);

    // strip standard outlook reply text
    $body = preg_replace("/.*----- Original Message -----/s", "$1", $body);