Modify Email on IMAP Server?

Question: I was wondering if the IMAP library for .NET allows me to go into an IMAP server, and change the body of a previous email? Is any email fair game? Or does it have to be in drafts? If so, is there a special way to save it to the server? If this does not work, can I delete […]

Choosing Correct C++ Library for Linking

When linking with a Chilkat C++ library, you must choose the .lib that matches your project’s “code generation” property setting. For example, in VC++ 8.0, these are the Chilkat .lib’s: ChilkatDbg.lib ChilkatDbgDll.lib ChilkatRel.lib ChilkatRelDll.lib If “Dll” is in the library name, it means that you are *not* statically linking with the C runtime libs. Just because your project produces a […]

C# 3DES (Triple-DES) Test Vector

This post provides C# sample code for matching a test vector (known answer test). 3DES Settings: ECB Mode 192-bit key (i.e. 3 8-bit keys) ASCII Key Bytes: 1234567890123456ABCDEFGH ASCII Text to Encrypt: The quick brown fox jumped over the lazy dog Pads with zero bytes Hexadecimalized Encrypted Result: 13d4d3549493d2870f93c3e0812a06de467e1f9c0bfb16c0 70ede5cabbd3ca62f217a7ae8d47f2c7bf62eb309323b58b C# Code: string keyAscii = “1234567890123456ABCDEFGH”; byte[] key = ASCIIEncoding.ASCII.GetBytes(keyAscii); […]

PHP Three-Key Triple-DES (3DES) Test Vector

This post provides PHP sample code for matching a test vector (known answer test). 3DES Settings: ECB Mode 192-bit key (i.e. 3 8-bit keys) ASCII Key Bytes: 1234567890123456ABCDEFGH ASCII Text to Encrypt: The quick brown fox jumped over the lazy dog Pads with zero bytes Hexadecimalized Encrypted Result: 13d4d3549493d2870f93c3e0812a06de467e1f9c0bfb16c0 70ede5cabbd3ca62f217a7ae8d47f2c7bf62eb309323b58b PHP Code: <?php $cipher = mcrypt_module_open(MCRYPT_3DES, ”, MCRYPT_MODE_ECB, ”); // […]

POP3 Sessions w.r.t. New Email and Deleting Email

The POP3 protocol is such that a new session is started after a successful login. The session is a snapshot of the existing emails in the mailbox. Any new email that arrives during the session will not be seen until the session is ended (i.e. you logout) and a new session is started. Also, emails marked for deletion are not […]

Purchased Unlock Code

Question: Very quick question for you about distribution. Is it a simple matter of just using this unlock code in the appropriate place in the code and adding a reference to the dll in my project? Or, do I need to include and run your MSI with the installation of my own application for all of my customers? Answer: You […]

FTP2 Events for FoxPro

The Chilkat FTP2 ActiveX has events for progress monitoring. The events may also be used to abort an FTP upload/download, or to skip files and/or directories. These are the events in Visual FoxPro terms: PROCEDURE _IChilkatFtp2Events_PutProgress(percentDone AS Number) AS VOID; PROCEDURE _IChilkatFtp2Events_GetProgress(percentDone AS Number) AS VOID; PROCEDURE _IChilkatFtp2Events_AbortCheck(abortFlag AS Number) AS VOID; PROCEDURE _IChilkatFtp2Events_BeginDownloadFile(filePath AS String, skipFlag AS Number) AS […]

Access MIME Parts from HTTP Request?

Question: Is it possible to “grab“ mime parts directly from incoming HTTP request with Chilkat.Mime object? LoadMimeFile() works like a charm. Answer: Yes, if you are using a ChilkatDotNet2.dll that is more than a few weeks old (from the date of this post), download the latest from http://www.chilkatsoft.com/preRelease/ChilkatDotNet2.zip The latest build has a new feature built into the LoadMime and […]