APItools / monitor

Track, transform and analyze the traffic between your app and the APIs you use.
https://www.apitools.com
MIT License
140 stars 23 forks source link

Smtp #2

Open Zyles opened 10 years ago

Zyles commented 10 years ago

I find the handling of mail a bit weird. We use Mandrill, not Sendgrid. But why would you need to integrate every provider and not just use SMTP credentials?

Then you would support any provider...

mikz commented 10 years ago

We wanted to have SMTP support since the beginning, but lua-nginx-module did not support SSL or arbitratry TCP sockets (https://github.com/openresty/lua-nginx-module/issues/178).

This changed few weeks ago, so we are working on streaming http client and SMTP will be next. However I'm not promising anything, as nginx also has own issues with verifying SSL certificates (http://mailman.nginx.org/pipermail/nginx/2014-September/045055.html and https://groups.google.com/forum/#!topic/openresty-en/SuqORBK9ys0 ) it might require some patches to nginx core.

But if your provider supports HTTP API, we could make it work sooner. Would you be in for that?

Zyles commented 10 years ago

Yeah sure. I am pretty sure Mandrill has an HTTP API.