Class TestBulkHeaders

All Implemented Interfaces:
FunctTestConstants

public class TestBulkHeaders extends EmailBaseFuncTestCase
Since:
v4.0
  • Constructor Details

    • TestBulkHeaders

      public TestBulkHeaders()
  • Method Details

    • testBulkHeadersPresent

      public void testBulkHeadersPresent() throws InterruptedException, javax.mail.MessagingException
      Verify that we actually add Precedence: Bulk and Auto-Submitted: auto-generated headers to all outgoing mail by default
      Throws:
      InterruptedException
      javax.mail.MessagingException
    • testBulkHeadersNotPresent

      public void testBulkHeadersNotPresent() throws InterruptedException, javax.mail.MessagingException
      Verify that we do not generate Precedence: Bulk and Auto-Submitted headers when the jira.option.precedence.header.exclude property is set.
      Throws:
      InterruptedException
      javax.mail.MessagingException