Open mildred opened 11 months ago
Problem seems to be in asyncdispatch
where getaddrinfo
is called with AF_INET
instead of AF_UNSPEC
Reopening issue. See https://github.com/nim-lang/Nim/issues/22442 and forum thread. The problem is that the smtp package uses newSocket
and then connect
whereas to have an IPv6 compatible library one should use dial
which performs the address lookup and then created the socket using the correct address family depending on if the address is IPv4 or IPv6.
When the server is IPv6 only, connect fails:
edit: sorry, it might be my server down instead