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

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