Stop Precedence: bulk header from triggering rejection for specific sender.
Its not yet possible to do this in configuration, a scripted PreProc Task is possible to vary the value, removal of the header entirely is
Jira Legacy |
---|
server | System JIRAJira |
---|
serverId | 31e1f342-5dce-3979-a43c-85899d565476 |
---|
key | JEMHC-3329 |
---|
|
. Ability to see ‘print’ output at edit time is
Jira Legacy |
---|
server | System JIRAJira |
---|
serverId | 31e1f342-5dce-3979-a43c-85899d565476 |
---|
key | JEMHC-3328 |
---|
|
.
Code Block |
---|
MIME-Version: 1.0
Received: by 10.223.112.12 with HTTP; Sat, 18 Jun 2011 22:42:26 -0700 (PDT)
Date: Sun, 19 Jun 2011 17:42:26 +1200
Subject: Testing
From: "Mr Andy" <andy@localhost.com>
To: support@localhost.com
Precedence: bulk
Content-Type: text/plain; charset=UTF-8
CHANGE BODY!!! |
Code Block |
---|
if (message.getHeader('from')!=null && message.getHeader('Precedence')!=null && message.getHeader('from').toLowerCase().indexOf('andy@localhost.com')!=-1) {
message.setHeader('Precedence','ignore');
} |
Code Block |
---|
assert.equal(message.getHeader('Precedence'), 'ignore'); |
...