Closed taobojlen closed 3 years ago
What is your OTP and gen_smtp versions?
It might be https://github.com/gen-smtp/gen_smtp/pull/273#discussion_r712808588 which is fixed in the current master, but not in the last tagged version / not on hex.pm
This is on OTP 24. You're right -- I tried with the latest commit on master
and it works! Thank you :)
@arjan @mworrell would be cool to have a new release tagged soon. Seems latest gen_smtp release does not work well as a server on OTP-24. Not sure if we need to wait for "hut -> otp logger" PR first. Maybe it's less important?
Just release now, we can add another release for the hut-changes.
@arjan can you make a release?
I'm using gen_smtp as an SMTP server in my Elixir app. I've set it up with STARTTLS, which seems to work (in my implementation of the
gen_smtp_server_session
behaviour,handle_STARTTLS
runs as expected).However, right after hitting
handle_STARTTLS
, the server throws an error:All my
handle_STARTTLS
function does it write a log line and return the state:Do I need to do anything when running gen_smtp in Elixir to make this work?
For reference, here's the output from swaks when the error is thrown: