How to get the Version of Chilkat at Runtime

Most Chilkat classes include a Version property. To find the version of Chilkat, such as “9.5.0.94”, instantiate the object and examine the Version property. AutoIt How to get the Version of Chilkat at Runtime C How to get the Version of Chilkat at Runtime Python How to get the Version of Chilkat at Runtime C++ How to get the Version […]

New Example Showing How to Process a Multipart/Report Email

AutoIt How to Process a Multipart/Report Email C How to Process a Multipart/Report Email Python How to Process a Multipart/Report Email C++ How to Process a Multipart/Report Email C# How to Process a Multipart/Report Email DataFlex How to Process a Multipart/Report Email Delphi How to Process a Multipart/Report Email Visual FoxPro How to Process a Multipart/Report Email Go How to […]

Clarifying the Desktop Application OAuth2 Flow

To clarify further: When your desktop application (or script) calls Chilkat.OAuth2.StartAuth, two things happen: It returns a URL that you need to open in a web browser to obtain authorization interactively from the account owner of the service you are integrating with. It initiates a background thread that acts as a web server to handle the redirect request sent from […]

Office365 SMTP: 535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant.

This blog post is about the following error encountered when trying to send email via Chilkat.MailMan.SendEmail (using the SMTP protocol). smtpAuthenticate: smtp_host: smtp.office365.com smtp_port: 587 smtp_user: **** smtpAuthenticate: login_method: XOAUTH2 auth_xoauth2: username: **** sendCmdToSmtp: SmtpCmdSent: {PasswordOrCredentials} –sendCmdToSmtp readSmtpResponse: SmtpCmdResp: 535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant. Visit https://aka.ms/smtp_auth_disabled for more information. [****.PROD.OUTLOOK.COM 2023-07-03T11:15:43.462Z ****] –readSmtpResponse –auth_xoauth2 Failed […]

Chilkat C++ Class Thread Safety

Are Chilkat C++ classes thread safe? Should I use a guard, such as a mutex, in multi-threaded code? Answer: Yes, Chilkat C++ classes are thread-safe, meaning they can be safely used in a multi-threaded environment. Chilkat ensures that only one thread can access an object instance at a time. For instance, if both thread A and thread B attempt to […]

Create JWT using EdDSA (Ed25519) Private Key

Chilkat added the ability to create JWT’s using Ed25519 private keys. See: AutoIt Create JWT Using Ed25519 Private Key (EdDSA) C Create JWT Using Ed25519 Private Key (EdDSA) Python Create JWT Using Ed25519 Private Key (EdDSA) C++ Create JWT Using Ed25519 Private Key (EdDSA) C# Create JWT Using Ed25519 Private Key (EdDSA) DataFlex Create JWT Using Ed25519 Private Key (EdDSA) […]

Helping with old programming environments where string lengths are limited, such as Microsoft Navision

Many Chilkat methods have string arguments, and return strings. In some cases, the strings can be long. There are older programming environments such as Microsoft Navision, SQL Server, and others where string lengths have limits. These older programming languages support ActiveX, and programmers utilize Chilkat via the ActiveX DLL. To get around the string limitation issues, rather than directly passing […]

Using Microsoft Graph API HTTP Request/Response Documentation to Generate Code

This blog post describes how to use the raw HTTP request/response samples provided in the Microsoft Graph API documentation to generate Chilkat source code in your chosen programming language. First, let’s have a look at one particular request. This is the “Create call” action found in the Teamwork and Communications –> Calls and online meetings –> Calls –> Call documentation […]