Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add tls_options to smtp:socket:connect/5 (erlang 26 fix) #340

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sedinin
Copy link

@sedinin sedinin commented May 6, 2024

One can provide e.g.
{tls_options, [{verify, verify_none}]}
to configuration to avoid problem introduced in erlang 26 (default verify is verify_peer now).

@Vagabond
Copy link
Collaborator

Vagabond commented May 6, 2024

Can you not just add the tls options to sockoptions manually?

@sedinin
Copy link
Author

sedinin commented May 6, 2024

What do you mean by "manually"? I do it almost the same way its done in do_STARTTLS/2,
by retrieving from configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants