Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
if(headerBeans.get("subject") && subject.contains("Fwd"))
{
    if(subject.contains("Fwd:"))
    {
        if(headerBeans.get("in-reply-to"))
        {
            headerBeans.remove("in-reply-to");
        }
        if(headerBeans.get("references"))
        {
            headerBeans.remove("references");
        }
    }
}

Example Matching Headers

Code Block
Reference,In-Reply-To,Subject

Screenshot of Script Pre-Proc config

...