Views:
The below configuration will prevent Crossware Mail Signature processing a message with the with the subject "[CWESIGPROCESSED=Y]" in the subject line


 

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. From the Crossware Mail Signature Configuration Database go to Admin > Rules


b. Click on CREATE NEW


c. Rule Settings
 
Rule Name: ByPassCMSRule
Rule Type: Advanced Formula


d. In the Rule Editor Copy and Paste the following Code



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;

e. Click SAVE > CLOSE
 

Create a Signature Configuration

a. From the Crossware Mail Signature Configuration Database go to Signature Configuration > Signatures

b. Click on CREATE NEW


c. Update Signature Name

Signature Name: ByPassCMSsig


d. Update the "Applies to" setting
  • Click on change...


e. Selection: Rule
  • Click on Select a Rule > ByPassCMSRule


f. Click CLOSE


g. Click SAVE


 

Move Signature to Top of List

a. From the Crossware Mail Signature Configuration Database go to Signature Configuration > Signatures

b. Locate the ByPassCMSsig configuration which will be at the very bottom on the list


c. Mouse Over the rule the toggle 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

Related Products: CMS M365