Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Retrieving e-mail headers

Posted on 2002-06-07
Medium Priority
Last Modified: 2013-11-13
I'm looking for a way to retrieve the headers & subject from an e-mail account that would work regardless of the e-mail client.

Basically I'm playing around with Spam filters, so I want to be able to read the From line the header and possibly the first few lines of text.

I don't want to use a specific OCX like MSMAPI because it needs to be client independant.

I've seen lot's of ways to SEND mail through winsock, etc., but nothing that allows you to preview and delete.

I would always know the pop and smtp settings, but I'm hoping for a solution that would also work with WEB based mail.



Question by:carpbyte
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2

Accepted Solution

gencross earned 800 total points
ID: 7063106

Author Comment

ID: 7063168

That pretty much does the trick.

Any suggestions for WEB based mail?

Expert Comment

ID: 7063183
That is going to be a little bit different because of possibly proprietary mail servers and the such.  I do believe many web based email still use standard pop servers you can access (such as Yahoo, etc...) using stardard email programs.

Hope this helps.

Author Comment

ID: 7063196

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
If you haven’t already, I encourage you to read the first article ( in my series to gain a basic foundation of R and R Studio.  You will also find the …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

660 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question