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
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 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB6 Compile Compatibility Issue 4 131
Message not shown 5 106
Capture logon name 13 119
Modify Text File with Excel Macro 13 51
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
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…

752 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