gen-smtp / gen_smtp

The extensible Erlang SMTP client and server library.
Other
683 stars 266 forks source link

Accept tls options (specifically log_level) #265

Closed alli5723 closed 3 years ago

alli5723 commented 3 years ago

The latest change to erlang's SSL module prints a warning when verify_none is used as a verify option. This function only prints at a log level of warning, so it is possible for users to choose when they want to see such warnings.

Accept TLS option for setting ssl_connection log_level.

mworrell commented 3 years ago

Just wondering, why not pass the tls_options socket options in the sockopts?

alli5723 commented 3 years ago

@mworrell That's a very valid point, my PR is indeed irrelevant with the availability of sockopts. I missed it, thanks.

mworrell commented 3 years ago

Thanks!