We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
gen_smtp/src/gen_smtp_client.erl
Line 219 in 21c3e24
When gen_smtp_client:open/1 to check if the authorization credentials are correct:
gen_smtp_client:open/1
{error, send, {permanent_failure, smtp_host, auth_failed}}
Code:
{ok, SocketDescriptor} = gen_smtp_client:open([{relay, ...}, {ssl, true}, {sockopts, [{depth, 20}, {verify, verify_peer}, {server_name_indication, SNI}, {cacerts, certifi:cacerts()}]}, {username, ...}, {password, ...}]), gen_smtp_client:close(SocketDescriptor).
Exception trace:
{{case_clause,<<"y">>}, [{gen_smtp_client, read_possible_multiline_reply, 1, [{file, "_build/default/lib/gen_smtp/src/gen_smtp_client.erl"}, {line,841}]}, {gen_smtp_client, do_AUTH_each,5, [{file,"_build/default/lib/gen_smtp/src/gen_smtp_client.erl"},{line,623}]}, {gen_smtp_client, try_AUTH,3, [{file,"_build/default/lib/gen_smtp/src/gen_smtp_client.erl"}, {line,556}]}, {gen_smtp_client, open_smtp_session,2, [{file, "/_build/default/lib/gen_smtp/src/gen_smtp_client.erl"}, {line,384}]}, {gen_smtp_client, try_smtp_sessions,3, [{file, "_build/default/lib/gen_smtp/src/gen_smtp_client.erl"}, {line,316}]}, ...
The text was updated successfully, but these errors were encountered:
Can you check what the server is sending back?
Sorry, something went wrong.
No branches or pull requests
gen_smtp/src/gen_smtp_client.erl
Line 219 in 21c3e24
When
gen_smtp_client:open/1
to check if the authorization credentials are correct:{error, send, {permanent_failure, smtp_host, auth_failed}}
as doc said, an exception is thrownCode:
Exception trace:
The text was updated successfully, but these errors were encountered: