Email Header

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

Is there a way in C# to just retrieve the email header from a POP
server. If so is there a short piece of code.

I need to develop an application which looks at the header. If it is in
a certain format in the subject line I then download it leaving all
other emails there.

Regards
Jeff
 
Is there a way in C# to just retrieve the email header from a POP
server. If so is there a short piece of code.

Are you aware of the various System.Net classes, including Socket and
TcpClient? These would be useful in writing software that communicates
with a POP server.

There's a System.Net.Mail namespace, but as far as I know that is
intended only for sending email. I don't know of any .NET classes
specific to receiving email, but .NET does have good support for
general-purpose network implementations, which would include your need
to communicate with a POP server.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top