mock-server / mockserver

MockServer enables easy mocking of any system you integrate with via HTTP or HTTPS with clients written in Java, JavaScript and Ruby. MockServer also includes a proxy that introspects all proxied traffic including encrypted SSL traffic and supports Port Forwarding, Web Proxying (i.e. HTTP proxy), HTTPS Tunneling Proxying (using HTTP CONNECT) and SOCKS Proxying (i.e. dynamic port forwarding).
http://mock-server.com
Apache License 2.0
4.61k stars 1.08k forks source link

Mock SMTP Protocol #477

Closed Brianenno2 closed 6 years ago

Brianenno2 commented 6 years ago

Hey there,

sorry for creating an issue here, but I wasn't able to find any information around the documentation/google/forum. I would like to mock the possibility to send the email by using the SMTP protocol. Is there currently a way to do it and if not, how hard would it be to add support?

Thanks a lot for the great work done so far!

jamesdbloom commented 6 years ago

Although mocking SMTP is a reasonable idea it is beyond the scope of the MockServer which is focused on mocking HTTP endpoints. There are existing alternative solutions for mocking SMTP, such as, https://mailtrap.io/ http://nilhcem.com/FakeSMTP/