How to retrieve only the headers of an email via POP ?

How can I get only the headers of the message as mentioned in the introduction page of the POP control?

Date Entered: 10/10/1997    Last Updated: 06/14/2004

There is a RetrieveHeaders method that you can use to retrieve only the headers of the message. After a call to this method, the headers can be accessed from either the Header event or the MessageHeaders property of the control.

If you have an older version of the control, setting the MaxLines property to 1 will retrieve all the headers through the Header Event as well as the first line of the message through the Transfer Event.


We appreciate your feedback.  If you have any questions, comments, or suggestions about this entry please contact our support team at kb@nsoftware.com.