Solving the CommonJS (Common JavaScript) and ECMAScript Modules (ESM) Problem

The following is a solution graciously provided by a Chilkat user trying to convert a node16 application using Common JS (require) to node20 using ESM (import). CommonJS (Common JavaScript) and ECMAScript Modules (ESM) are two different module systems used in JavaScript environments. CommonJS is the module system used in Node.js and is characterized by `require()` and `module.exports` syntax, while ECMAScript […]

GMail Mailboxes vs Labels

GMail technically doesn’t use mailboxes or folders. Instead it uses “labels”. Labels appear as folders (i.e. mailboxes) in email clients such as Outlook or Thunderbird, or as mailboxes in the IMAP protocol. See https://hiverhq.com/blog/labels-vs-folders-guide I recommend  comparing how your GMail looks in Outlook (or Thunderbird) vs the web browser at Gmail.com. Notice how an email can be given multiple labels, […]

Chilkat v9.5.0.97 Release Notes

Previous Version: https://cknotes.com/chilkat-v9-5-0-96-release-notes/ Next Version: https://cknotes.com/chilkat-v9-5-0-98-release-notes/ Chilkat v9.5.0.97 Release Notes SSH/SFTP/SshTunnel: Mitigated vulnerability to the Terrapin attack. See Chilkat v9.5.0.97 Mitigates Terrapin Attack Vulnerability CodeSign: Added the Chilkat.CodeSign class. This provides the ability (on Windows) to Authenticode sign DLLs and EXEs. It also provides the ability to validate Authenticode signed EXEs and DLLs, and to remove a signature. PDF: Added […]

Chilkat v9.5.0.97 Mitigates Vulnerability to the SSH Terrapin Attack

Chilkat v9.5.0.97 makes changes to mitigate the Terrapin attack problem. It does so by modifying the selection of the default algorithms in the following ways: chacha20-poly1305@openssh.com is no longer included by default. It can be re-added by specifying “+chacha20-poly1305@openssh.com” in the UncommonOptions property. We are going to keep the “-cbc” encryption modes because potentially too many servers would be affected […]

Solved: Perl undefined symbol: PL_stack_base at … DynaLoader.pm

Solution for Perl undefined symbol: PL_stack_base This problem was reported when trying to use Chilkat for the first time on a RHEL8 machine using chilkat-9.5.0-perl-5.26-x86_64-linux. Here’s the environment: # lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: RedHatEnterprise Description: Red Hat Enterprise Linux release 8.9 (Ootpa) Release: 8.9 Codename: Ootpa # perl -v This is perl 5, version 26, subversion 3 […]

Solved: Mail Server Error “message body contains illegal bare CR LF characters”

A Chilkat user reported suddenly getting an error message from two receiving mail servers when sending mail generated by Chilkat. The message is:   message body contains illegal bare CR LF characters  Solution:  The cause has been found. The affected users are using AVG or Avast Antivirus and there is an optional signature text added after the outgoing email scan. If […]

Office365 App Setup for SMTP, POP, IMAP OAuth2 Client Credentials

This blog post walks you through the complete Azure App Registration process, including the subsequent Exchange Online PowerShell commands needed to achieve the OAuth2 client credentials flow for Office365 email sending and reading via the SMTP, IMAP, and POP3 protocols. I wish there was an “easy button”, but unfortunately it does not exist. Step 1. Register an Azure App Go […]

How to Load Binary Data into a PowerBuilder Blob

Question:  I am using Chilkat in a PowerBuilder 9 (ANSI) application where I receive a JSON from a request. The JSON contains binary data (a file) encoded in Base64. I am able to handle and save this data to disk using the BinData component. However, I am struggling to pass that binary information to a PowerBuilder BLOB data type. How […]