Routing Rules

Routing Rules enable you to configure actions for processing received emails in private email. To set up these rules, you need to have previously configured email, as explained in the preceding section.

Create Routing Rule:

  • Navigate to Routing Rules from the left navigation panel to access this screen.
  • Click the "Add Rule" button, triggering the following pop-up Routing Rules

  • Fill in the following details in the pop-up

    Rule Name: Provide a unique name for the routing rule.

    Description: Enter a description for the rule.

    Priority: Set the priority (e.g., 1, 2, 3, ...) for rule execution sequence.

    Enabled: The blue toggle button indicates that the rule is enabled. Turn it off if you plan to enable it later.

    Select a condition from the drop-down list based on your requirements. The available conditions and their logic are as follows:

    • All: The rule executes only if all configured conditions are met.
    • Any: The rule executes even if just one of the configured conditions is met.
    • Always Match: The rule always executes without checking conditions.

    For All and Any conditions, the application provides default configuration settings

    From the first drop-down, you'll always see the Equal condition. From the second drop-down, select one of the following conditions:

    • To: The email address should match the entered text. For instance, [email protected].
    • Prefix: The email prefix should match the entered text. For example, entering test matches with the email [email protected].
    • Suffix: The email suffix should match the entered text. If you enter qa.com, it matches with `[email protected]".

    In the text box, provide the text for the condition. You can configure multiple conditions by clicking the + icon. To remove a condition, use the - icon

    Choose an action from the drop-down list:

    • Webhook: If selected, you need to provide an endpoint. When the rule matches, the email(s) will be sent to the specified endpoint.
    • Email Forwarder: If selected, provide an email. On rule match, the email will be forwarded to the specified email.
    • Delete: If selected, the email will be deleted on rule match.

      Add Rules

  • Click Save to save the configured rule or Cancel if you don't want to save it.

Note: Configured routing rules are checked and executed upon email receipt, with no waiting time for the action. Multiple routing rules can be configured according to your needs.

For instance, if you wish to forward all received emails to [email protected], you can execute it as follows:

Configure a routing rule with the condition Always Match, action Email Forwarder (enter the forwarding email), and priority 1.

As a result, Mail4QA will forward the received email to the designated email.

The list of configured routing rules is displayed here

Rules List

You make any changes in a rule by clicking the edit button. You can also delete a rule by clicking the Delete button in the rule list.