Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.5.0
    • Remote Delivery, tests
    • None

    Description

      Draft version [here](https://github.com/linagora/james-project/pull/2545)

      The MockSmtpServer should match these criteria:

      • can return error responses
      • can return error responses but actually still success to deliver the mails (450 - server retry and will be success)
      • act like a simple smtp server if no mock setup, when mails come, save them in to the memory

      Regarding the behaviour:

      • a behaviour can be applied to all given commands or a subset of them (condition)
      • A number of answer can be specified, after X answers the behaviour will no longer be applied.

      You need to rely on the following POJOs : see JAMES-2853

      Attachments

        Activity

          People

            btellier Benoit Tellier
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: