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 […]

Use CURL to Chilkat Source Code Generator

Question According to the Sonar API documentation at https://docs.sonar.expert/system/api-calls-using-third-party-applications-personal-access-tokens, this is an example of how to run a query to their GraphQL. It looks a little different than your example because all it wants to authenticate is an access token which I already have. Do you have any examples similar to this using vbscript or vb6? curl -X POST \ […]

New Example for Paraguay E-Invoicing (SIFEN)

See this new example for signing XML E-invoices for Paraguay — SISTEMA INTEGRADO DE FACTURACIÓN ELECTRÓNICA NACIONAL (SIFEN). AutoIt Paraguay eInvoice XML Digital Signature C Paraguay eInvoice XML Digital Signature Python Paraguay eInvoice XML Digital Signature C++ Paraguay eInvoice XML Digital Signature C# Paraguay eInvoice XML Digital Signature DataFlex Paraguay eInvoice XML Digital Signature Delphi Paraguay eInvoice XML Digital Signature […]