POP3 Headers and Attachment Info

The POP3 protocol is not very feature rich. To download an email “header” the POP3 client must issue a “TOP” command. The following text is from RFC 1939 and describes the response to the TOP command: … After the initial +OK, the POP3 server sends the headers of the message, the blank line separating the headers from the body, and […]

Release Notes for 3-November-2008 Update

New versions of most Chilkat components were released on 3-November-2008. This blog post lists the major changes and new features. For those components with no apparent changes, minor new versions are released to take advantage of any underlying improvements in the internal (Chilkat) libs that form the base of all Chilkat products. New Products, Features, and Fixes Chilkat SSH / […]

Diffie-Hellman Random Number Generation

Question: (Regarding the Chilkat Diffie-Hellman Component/Library) If it is possible, we´d like to know what algorithm is used to generate random numbers because one of our clients is very strict with security and they demand us this information. Answer: The most difficult problem in implementing a good random number generator is in generating a good seed value for a starting […]

HTML-to-XML Conversion: DropTagType clarification.

Question: I instantiated the HtmlToXml component correctly but the DropTagType method did not drop the HTML tags as I expected: Htmltoxml.DropTagType(“span font p I”) Htmltoxml.DropTagType(“<span> <font> <p> <I>”) Answer: Call DropTagType once for each type of tag to be dropped (i.e. discarded) from the output. The tag string is case-insensitive: Htmltoxml.DropTagType(“span”) Htmltoxml.DropTagType(“i”) Htmltoxml.DropTagType(“p”) Htmltoxml.DropTagType(“font”)

Mail not sent when SendEmail returns success?

Question: Looks to me like sendmail is returning true before the message has been sent but I’m sure you’ll tell me that there is no way this can happen… Answer: The SendEmail method returned true after the email was successfully handed over to the SMTP server. When the SMTP server decides to actually forward the email onward to its destination […]

Using X509 Certificate to Encrypt Data

Question: Do you have any examples of using the Chilkat Encryption component with X509 Digital Certificates to encrypt and decrypt data ? Answer: To use an X509 certificate, the CryptAlgorithm is set to “PKI” and you set the certificate by calling SetEncryptCert. The encryption algorithm may be controlled by using a Chilkat CSP object and calling SetCSP. Here’s a quick […]

Does Chilkat Crypt support 3DES? Yes.

Question: Does the Crypt2 Component support 3DES ?? Setting “CryptAlgorithm” to “3des” or “des” does not change the encoded output when the “EncryptStringENC” method is used. Answer: Yes. The CryptAlgorithm should be set to “DES” (case-insensitive). The KeyLength property determines if it is DES (56 or 64), 3DES (112 or 128) or 2-Key TDES (168 or 192). Each byte in […]