Codestone Ltd logo

Search FAQ

Internet Mail Client Control FAQs/Objects/POP3Client Object

What happens when the POP3Client encounters a syntactically incorrect MIME header when receiving a message?


When receiving messages from a POP3 server the POP3Client Object may encounter a syntactically incorrect header inserted by a non MIME compliant originating program. By design the Message Object will only accept syntactically valid values (as defined by the appropriate RFCs) for many of the MIME fields in the message - particularly the address (To, From etc) fields.

When the POP3Client encounters a syntactically invalid value it will create a new header by prefixing the name of the field with X-CSMFH- (For example X-CSMFH-To) and place the invalid value in that field. Developers are then free to implement their own strategy for processing the invalid value.

Related questions

Can't find the answer to your question? We're here to help!