[BangPypers] Embedded python mail server

Anand Chitipothu anandology at gmail.com
Wed Aug 24 07:36:29 CEST 2011


2011/8/24 Dhananjay Nene <dhananjay.nene at gmail.com>:
> What would be good options to embed a python mail server ?
>
> The scope is strictly restricted to automated testing. So the embedded
> mail server (embedded in the test cases) acts as the server which
> receives email and is in turn further queried to ensure receipt of
> email correctly.
>
> One option is http://lamsonproject.org/
>
> Are there any other options you might suggest?

Do you really want to run a mail server for testing? I usually monkey
patch the function to send email and store the emails in a global
variable for later access.

Anand


More information about the BangPypers mailing list