-
Notifications
You must be signed in to change notification settings - Fork 103
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
Connect per IPv6 #143
Comments
Hello @genofire and sorry for taking too long to answer. Do you still have the issue? if yes, could you give us more information about it? I little bit more of code and context will help me to give you a more precise answer. thanks! |
That issue happens when you try to connect to a SMTP when in an IPv6-only environment. Erlang makes a difference between the I just hit this - my production environment is IPv6-only - and will patch it. |
https://github.com/fewlinesco/bamboo_smtp/blob/develop/lib/bamboo/adapters/smtp_adapter.ex#L524 <- the |
Ah, it's not the gen_smtp server but client config, my bad. We need to specify the sockopts option of gen_smtp_client. |
Erk. |
After some erlang-reading: |
Hey @Fnux. Thanks a lot for your contribution! We already merged your patch and it is available in our latest release. I'm closing this issue since it's now solved. |
Hello,
i try to connect to a smtp server per ipv6 - which was not possible, even with:
as parameter (and hacky by change it in code here):
bamboo_smtp/lib/bamboo/adapters/smtp_adapter.ex
Line 43 in afb298e
I always got:
The text was updated successfully, but these errors were encountered: