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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How To Loop - Python 19 79
Best way to parse out a json string in VB6? 10 115
Modifying Conditional Format from VBA code 3 49
Programatically extract date from website 8 67
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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
The viewer will learn how to implement Singleton Design Pattern in Java.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now