> Forums > Active Forums > General Discussion > Documentation that explains the Syntax of the rules.xml file for the mail connector
Last Post 29 Feb 2012 03:14 PM by Ben - DotNetNuke. 5 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Resolved
John
Registered Users
John
Post Count:8

--
21 Feb 2012 07:26 AM
    I am looking for documentation that helps me to update this file.  I am getting "Out of Office: ..." emails show up in the forums.

     
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
       
    <!-- I added this line -->  
       
       
       



    What are the valid values for matchtype?  Can I place wildcards in the values?

    Thanks,
    John
    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1644

    --
    21 Feb 2012 02:21 PM
    No, I don't think it will accept wildcards. Also, the values must be case-sensitive.
    Frozen DNN
    Customers
    Frozen DNN
    Post Count:1330

    --
    22 Feb 2012 04:12 PM
    Search the forums for the rules. I believe few of us listed additional rules somewhere. We requested Will to include those rules in the default rules.xml file but I don't think that ever happened.
    I am using the latest AS/AF/DNN available.
    Thanks.
    John
    Registered Users
    John
    Post Count:8

    --
    22 Feb 2012 05:09 PM
    Thanks for the reply. I searched the forums and the internet/Google and found almost zero. I found examples with MatchType=Exact and some without MatchType at all, but none of the examples were much different than the default rules.xml I have in my mc directory.

    If you have anything you'd be willing to share, as guidance, I would appreciate it.

    I have found that the rules are case-sensitive, as mentioned by Ben. I was hoping MatchType might offer some options around that to at least reduce the number of combinations...
    John
    Registered Users
    John
    Post Count:8

    --
    29 Feb 2012 02:46 PM
    • Accepted Answer
    Here is what support told me.  Hopefully this answer will be useful to someone else in these forums.

    Try changing your rule to

    <filter value="out of office" action="stop" matchtype="contains" />

    All the default rules use exact so they are not too strict and remove posts unexpectedly.

    The possible values for matchtype are 

    exact
    contains
    anywords

    The possible values for action are

    stop
    continue
    Ben - DotNetNuke
    DotNetNuke Staff
    Ben - DotNetNuke
    Post Count:1644

    --
    29 Feb 2012 03:14 PM
    Yeah, I was wrong before about requiring case sensitivity.
    You are not authorized to post a reply.
    > Forums > Active Forums > General Discussion > Documentation that explains the Syntax of the rules.xml file for the mail connector
    test
    Copyright 2012 by DotNetNuke Corporation / Terms of Use / Privacy