ASP VBscript and Office365 OAuth2 Access Token

The Chilkat.OAuth2 class is designed for desktop applications, not server-side web applications. To explain further: The call to OAuth2.StartAuth does 2 things: Returns a URL you’ll open in a browser to interactively get authorization from the service’s account owner. Starts a background thread to act as a web server for the redirect request that will be forwarded from the local […]

Delphi Error: Undeclared identifier ‘TChilkatGlobal’

See the “Quick Start” instructions here:   https://www.chilkatsoft.com/delphiDll.asp The Chilkat distribution contains Delphi .pas source files, one for each Chilkat class. For each Chilkat class used, add the corresponding .pas file to your project. You’ll always need to add “Global.pas” because your app must always call UnlockBundle at the start. Also add “Global” to the “uses” section. See here:

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