Matching DES Encryption in Java and VBScript

This page shows both Java JCE DES encryption examples, as well as examples using the Chilkat Encryption component in both Java and VBScript. Each of these examples produces identical output: The string: ABC123 encrypts to 6DA02B6AE1EA32D8 (as a hexidecimalized string) Java bytes-to-hex Encoding Utility Function public static String toHex (byte buf[]) { StringBuffer strbuf = new StringBuffer(buf.length * 2); int […]

Quoted-Printable Encoding Definition

Quoted-printable, or QP encoding, is an encoding using printable characters (i.e. alphanumeric and the equals sign “=”) to transmit 8-bit data over a 7-bit data path. It is defined as a MIME content transfer encoding for use in Internet e-mail. The basic Internet e-mail transmission protocol, SMTP, supports only ASCII characters (see also 8BITMIME). MIME defines mechanisms for sending other […]

HTTP ActiveX to Automatically Detect Settings

Question: How can I use your HTTP ActiveX library in VB to download a file with my connection settings “automatically detect settings” instead of proxy settings? Answer: Set the HTTP object’s UseIeProxy property = 1. This will cause the proxy host/port used by Internet Explorer (if set) to be used by the Chilkat HTTP component.

SMTP 550 No such user here

This was just discovered with one SMTP server: the error message: RCPT TO: <somebody@somewhere.com> 550 <somebody@somewhere.com> No such user here Was caused by forgetting to authenticate with the SMTP server.  The SMTP server requires authentication in order to relay email to another domain (in other words, it’s protected against being an open-relay).  The error message from this particular SMTP server […]

Convert MIME to Plain-Text?

Question: Is it possible to convert MIME to plain-text? Answer: The Chilkat MIME and/or Email API’s may be used to extract the plain-text body (or bodies) and/or HTML bodies from a MIME message. If a MIME-part is already plain-text, no conversion is necessary. It’s simply a matter of using the Chilkat MIME or Email API to extract the part’s contents. […]