Email Routing - email routing rules (functions/mail_route.php): an address or a domain, with words its subject * has, whose new tickets by email go to a client and a contact, with a category, a priority, an agent and a ticket * template. Each with why, who added it, and how many emails it routed and the last. New and edit in * modals/email_routing_rule/email_routing_rule.php; the handlers are admin/post/email_routing_rule.php. */ // Default Column Sortby Filter $sort = "routing_rule_match"; $order = "ASC"; require_once "includes/inc_all_admin.php"; if (!mailRouteReady()) { ?>
A new ticket by email from these addresses and domains goes where the rule says - to its client, over the sender's own contact or domain, with its category, priority, agent and template. Replies to a ticket still go on it, and Ignored Senders are set aside first. The sender is answered and copied in only when they are the ticket's contact. When more than one rule takes an email, the most exact routes it: an address before a domain, and a rule with subject words before one without. Try an Email shows what one would do.
| = sortLink('routing_rule_match', 'Sender') ?> | = sortLink('client_name', 'Goes to') ?> | Sets | = sortLink('routing_rule_matches', 'Routed') ?> | = sortLink('routing_rule_matched_at', 'Last') ?> | = sortLink('routing_rule_created_at', 'Added') ?> | |
|---|---|---|---|---|---|---|
|
>= escapeHtml($domain ? "@$match" : $match) ?>
= $domain ? 'Everyone at this domain and its subdomains' : 'This address' ?>,
with “= escapeHtml($row['routing_rule_subject']) ?>” in the subject
= escapeHtml($note) ?>
|
= escapeHtml($row['client_name']) ?>
= escapeHtml($row['contact_name']) ?>
Whoever it's from
= implode('', $sets) ?>
|
= $sets ? implode('', $sets) : '-' ?>
= escapeHtml(implode(', ', $gone)) ?> - skipped until it's fixed
|
= number_format(intval($row['routing_rule_matches'])) ?> ticket= intval($row['routing_rule_matches']) === 1 ? '' : 's' ?> | = $row['routing_rule_matched_at'] ? escapeHtml(timeAgo($row['routing_rule_matched_at'])) : 'Never' ?> |
= escapeHtml(date('M j, Y', strtotime((string) $row['routing_rule_created_at']))) ?>
= escapeHtml($row['creator_name']) ?>
|
|