lua-resty-smtp
lua-resty-smtp copied to clipboard
socket does not have tls support
my smtp server only support 'tls', error log: 2015/12/09 13:34:06 [error] 643#0: *96 SSL_do_handshake() failed (SSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol), client: 172.17.0.1, server: localhost, request: "POST /sendemail/test HTTP/1.1", host: "172.17.0.2"
Check this out: lua_ssl_protocols.
Make sure lua_nginx_module
supports the TLS version your SMTP is providing.