Do I Need to Escape Parenthesis in Mailbox Rule Subject Filter String?
search cancel

Do I Need to Escape Parenthesis in Mailbox Rule Subject Filter String?

book

Article ID: 270326

calendar_today

Updated On:

Products

CA Service Desk Manager CA Service Management - Service Desk Manager

Issue/Introduction

How would you write a "Subject Contains" filter string in a maileater mailbox rule so that the email subject that contains parenthesis (for example (MDD_Scan)) will create/update a CA Service Desk Manager ticket?

According to regular expression rules (https://www3.ntu.edu.sg/home/ehchua/programming/howto/Regexe.html#:~:text=To%20match%20a%20character%20having,%22%20(back%2Dslash), the special characters ( and ) would need to be escaped using \

Does this need to done with the CA Service Desk mailbox rule? 

Environment

CA Service Desk Manager 17.3 and 17.4

Resolution

You do NOT have to escape the special characters ( and ) using \

CA Service Desk maileater script handles that automatically.

For example, you should use [ \t\r\n](MDD_Scan)[ \t\r\n] (instead of [ \t\r\n]\(MDD_Scan\)[ \t\r\n])

Additional Information

How to Configure the Mailbox to Handle Inbound Emails