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

Retrieving e-mail headers

Posted on 2002-06-07
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
  • 2
  • 2

Accepted Solution

gencross earned 200 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Suggested Solutions

When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

861 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