james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (Jira)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-2865) Implementing a MockSmtpServer
Date Tue, 17 Sep 2019 02:31:00 GMT

    [ https://issues.apache.org/jira/browse/JAMES-2865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931019#comment-16931019
] 

Tellier Benoit commented on JAMES-2865:
---------------------------------------

https://github.com/linagora/james-project/pull/2675 provided a fluent HTTP client written
in Java thanks to the Feign library.

> 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
>             Fix For: 3.5.0
>
>
> 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-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message