The below configuration will prevent Crossware Mail Signature processing a message with the with the subject "[CWESIGPROCESSED=Y]" in the subject line
Apply this rule in situations where:
b. Rule Settings
c. In the Rule Editor Copy and Paste the following Code > Click SAVE > CLOSE
c. Update Signature Name
Signature Name: ByPassCMSsig
d. Under the Who is this signature for? section, change the drop-down option to Rule
e. Selection: Rule
f. Click SAVE & CLOSE
c. hover over the signature and select the up arrow to move the configuration to the top of the list (click and drag to the top also works)
b. The message should be delivered without a configured signature
Purpose
Apply this rule in situations where:
- you may experience issues formatting of emails and want to narrow down the cause of the issue
- Crossware Support may ask you to apply this rule and send through the results
Implementation
Create a Rule in Crossware Mail Signature
a. Log into your Crossware portal > Go to Rules > Click Create rule
b. Rule Settings
Rule Name: ByPassCMSRule
Rule Type: CUSTOM
Rule Type: CUSTOM
c. In the Rule Editor Copy and Paste the following Code > Click SAVE > CLOSE
string strSubject;
string strTest="";
string strCheck="[CWESIGPROCESSED=Y]";
if (pEmailHeaders.ContainsKey("subject")) {
List < string > lSubject=pEmailHeaders["subject"];
strSubject=lSubject[0];
if (strSubject.Equals(strCheck,StringComparison.OrdinalIgnoreCase)) {
return true;
}
}
return false;
Create a Signature Configuration
a. After creating the rule, go to the Signatures page > Click on the '+' icon to create a new signature
c. Update Signature Name
Signature Name: ByPassCMSsig
d. Under the Who is this signature for? section, change the drop-down option to Rule
e. Selection: Rule
- Click on the Rule drop-down menu > ByPassCMSRule
f. Click SAVE & CLOSE
Move Signature to Top of List
a. From the Signatures page, select the Order of Selection tab
b. Locate the ByPassCMSsig configuration which will be at the very bottom on the list
b. Locate the ByPassCMSsig configuration which will be at the very bottom on the list
c. hover over the signature and select the up arrow to move the configuration to the top of the list (click and drag to the top also works)
Test
a. Send a test message with the subject line [CWESIGPROCESSED=Y]
b. The message should be delivered without a configured signature