How to avoid email loops


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 General Configurationpage 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.