Project Mapping with Domain Rules
Summary
This Profile uses Project Mapping with a domain rule to check the senders email address and will redirect the email if the sender matches the predetermined domain.
Example Profile
This Profile will redirect the issue to the Support project if the sender domain is “sender.com” and if the sender is on a different domain then it will send the issue to Example_Project.
To import a profile go to Configure JEMH > Profiles > Import Profile > Choose File
and select the profile that you wish to import.
Example test case
This Test Case example will check if the sender domain is “sender.com” and if it is it will redirect the email to Example_Project.
MIME-Version: 1.0
Received: by 10.223.112.12 with HTTP; Sat, 18 Jun 2011 22:42:26 -0700 (PDT)
Date: Sun, 19 Jun 2011 17:42:26 +1200
Message-ID: <BANLkTinB1mfSh+GwOXGNWoL4SyDvOpdBoQ@mail.gmail.com>
Subject: This is a starting email template, update as required sales
From: "NotaUser" <notauser@sender.com>
To: mailbox@localhost
Content-Type: text/plain; charset=UTF-8
This a support for a domain called sender.com and is placed in the Example_Project.
Issue created by email
The issue that was created is in the Support project as the email sender is on domain sender.com.