DNS Error: failed to get host address info, gai_error 8
If your MacOSX/iOS Swift application gets this error in the Chilkat LastErrorText:
smtpSocketConnect: socket2Connect: connect2: connectImplicitSsl: connectSocket: connect_ipv6_or_ipv4: getAddressInfo: Failed to get host address info. (4) gai_error: 8 hostOrIpAddr: smtp.gmail.com port: 465 --getAddressInfo getAddressInfo failed. --connect_ipv6_or_ipv4 --connectSocket --connectImplicitSsl ConnectFailReason: DNS lookup failed --connect2 --socket2Connect
The solution is to enable the Outgoing Connections option in your Swift project.
admin
0
Tags :