How to avoid email loops

SINCE VERSION 5.3

Email loops occur when you configure JETI to send emails to an address on which a mail handler is listening.

For instance

  • you receive an email
  • JETI/JIRA imports it, stores all recipient email address (including the email address on which the handler is listening) in a custom field
  • JETI Notifications for Issue Created/Commented event is configured to notify email addresses stored in the field
  • when the email is processed, JIRA throws the event, JETI sends out email to the address again
  • JETI/JIRA starts to import the email, and loop starts again

It is easy to prevent this. You have two options:

  • add the Mail Handler email address to the Recipient Blacklist field in the Configuration page of Email This Issue. No email will be sent to addresses on the blacklist.
  • Or configure the JETI Mail Handler Context and store the mail handler email address in the Email Address Exclusion field. This will instruct the mail handler not to store the handler email address in the custom field.