[ https://issues.apache.org/jira/browse/JAMES-2865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16921109#comment-16921109 ]
Tellier Benoit commented on JAMES-2865: --------------------------------------- https://github.com/linagora/james-project/pull/2647 added condition filtering > Implementing a MockSmtpServer > ----------------------------- > > Key: JAMES-2865 > URL: https://issues.apache.org/jira/browse/JAMES-2865 > Project: James Server > Issue Type: Sub-task > Components: Remote Delivery, tests > Reporter: Tellier Benoit > Assignee: Tellier Benoit > Priority: Major > > 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 -- This message was sent by Atlassian Jira (v8.3.2#803003) --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org