System.BadImageFormatException

This usually happens when trying to use the Chilkat 32-bit .NET 2.0 Assembly on a 64-bit system. Download and use the x64 build for the Chilkat .NET 2.0 Framework at http://www.chilkatsoft.com/downloads.asp Also, it’s likely that your development environment is 32-bit. You should add a reference to the 32-bit ChilkatDotNet2.dll, but …

No messages in POP3 mailbox?

Question: I am reading my POP3 mailbox by calling mailman.CopyMail. It returns a bundle object, but the bundle.MessageCount = 0. I know there are emails in the mailbox. What happened? Answer: The most common mistake is that you’re looking at your email using a program such as Outlook and your …

C# Encrypting/Decrypting with Stream

This C# example demonstrates how to use Chilkat.Crypt2 to encrypt and decrypting using the .NET FileStream class: Chilkat.Crypt2 crypt = new Chilkat.Crypt2(); bool success = crypt.UnlockComponent("Anything for 30-day trial"); if (!success) { MessageBox.Show(crypt.LastErrorText); return; } crypt.CryptAlgorithm = "aes"; crypt.CipherMode = "cbc"; crypt.KeyLength = 128; crypt.SetEncodedIV("0000000000000000", "hex"); crypt.SetEncodedKey("abcdefghijklmnop", "ascii"); // Open …

UIDL Max Size? (for POP3)

Question: I’m trying to find out the maximum size of the POP3 UIDL. I’ve found various POP3 specs, but they dont list field sizes. Do you know the max size or can you give me any links to this info? Answer: (from RFC 1939) The unique-id of a message is …