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.

Python Error: UnicodeEncodeError: ‘charmap’ codec can’t encode character

Question: I’ve discovered an error on your example ( https://www.example-code.com/chilkat2-python/xml_i.asp ) as follows… AccountID: f1f489fb-9267-429e-a1dc-bc63a7c3f71e Traceback (most recent call last): File “M:\EXPORTIT\PY\CK_xero_accounts.py”, line 50, in print(“Name: ” + xml.GetChildContent(“Accounts|Account[i]|Name”)) File “m:\Python\Python35-32\lib\encodings\cp437.py”, line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_map)[0] UnicodeEncodeError: ‘charmap’ codec can’t encode character ‘\u2013′ in position 20: character maps to It’s failing on the this line from the “https://www.chilkatsoft.com/exampleData/xero_accounts.xml”, Wages […]

O365 IMAP Authentication: OAuth and MFA Solution

There is much confusion and worry about Microsoft’s plans to disable standard password authentication for the IMAP, and POP3  protocols. Here is the announcement posted on 20-Sept-2019 on the Office 365 blog: https://developer.microsoft.com/en-us/office/blogs/end-of-support-for-basic-authentication-access-to-exchange-online-apis-for-office-365-customers/ Chilkat already supports OAuth2 for the IMAP, POP3, and SMTP protocols. (Microsoft will continue to support basic auth for SMTP)  In all three protocols, an application can […]

Chilkat v9.5.0.82 Release Notes

The next version release notes: Chilkat v9.5.0.83 Release NotesThe previous version release notes: Chilkat v9.5.0.80 Release Notes (Chilkat v9.5.0.81 was a hotfix specific to UWP (Universal Windows Platform) on NuGet.) Chilkat v9.5.0.82 Release Notes 1-Feb-2020 TLS 1.3:   TLS 1.3 can be optionally enabled by adding the “EnableTls13” keyword to the UncommonOptions property in various classes:  Socket, Http, Rest, Imap, MailMan, […]

Delphi DLL TaskCompleted Callbacks

The Chilkat Delphi DLL (non-ActiveX) supports callbacks starting in version 9.5.0.82, to be released in Feb 2020. Pre-release Beta builds are available upon request. Also see: Delphi DLL AbortCheck Callbacks Delphi DLL PercentDone Callbacks Delphi DLL ProgressInfo Callbacks 1) First define a procedure exactly as shown here. Make sure to use the “cdecl” calling convention. 2) Set the task completed […]

Delphi DLL ProgressInfo Callbacks

The Chilkat Delphi DLL (non-ActiveX) supports callbacks starting in version 9.5.0.82, to be released in Feb 2020. Pre-release Beta builds are available upon request. Also see: Delphi DLL AbortCheck Callbacks Delphi DLL PercentDone Callbacks Delphi DLL TaskCompleted Callbacks 1) First define a procedure exactly as shown here. Make sure to use the “cdecl” calling convention. 2) Set the ProgressInfo callback […]

Delphi DLL AbortCheck Callbacks

The Chilkat Delphi DLL (non-ActiveX) supports callbacks starting in version 9.5.0.82, to be released in Feb 2020. Pre-release Beta builds are available upon request. Also see: Delphi DLL PercentDone Callbacks Delphi DLL ProgressInfo Callbacks Delphi DLL TaskCompleted Callbacks 1) First define a function exactly as shown here. Make sure to use the “cdecl” calling convention. Returning a non-zero Result will […]

Delphi DLL PercentDone Callbacks

The Chilkat Delphi DLL (non-ActiveX) supports callbacks starting in version 9.5.0.82, to be released in Feb 2020.   Pre-release Beta builds are available upon request. Also see: Delphi DLL AbortCheck Callbacks Delphi DLL ProgressInfo Callbacks Delphi DLL TaskCompleted Callbacks 1) First define a function exactly as shown here.  Make sure to use the “cdecl” calling convention. Returning a non-zero Result will […]