Decing a POP3 email

  • Thread starter Thread starter Paul S
  • Start date Start date
Paul said:
I'm trying to parse and email I get from a POP3 server.

This is a group on .NET, not e-mail protocols.

But to save us all a lot of time: RFC 1522, section 4.2.
 
Hi
This was more a question of whether the framework contained some sort of
help in decoding a qouted-printable text.
 
Paul said:
This was more a question of whether the framework contained some sort of
help in decoding a qouted-printable text.

No, and it's one of my pet peeves (less pet and more peeve, actually).
System.Net.Mail and System.Net.Mime contain a lot of classes, but they're
all glued together in such a way that you can't reuse them. Unless you're
really fond of using reflection in naughty ways.

You can *send* mail with quoted-printable text and headers just fine.
Receiving mail, on the other hand, is something you'll have to get a library
for. Or write yourself.
 
Hi Paul,

So far in .Net framework there only provides some SMTP classes. For the
code print-able text, you may create a custom decoder through those
built-in encoding/decoding classes (such as the Convert class which support
base64 encode/decode...). Here are some articles and open source component
about .net POP3 component, you may get some ideas from them:

#Using POP3 with C# to download and parse your mail.
http://www.codeproject.com/KB/cs/karavaev_denis.aspx

#How To POP3 in C#
http://www.csharphelp.com/archives2/archive450.html

#OpenPOP.NET
http://sourceforge.net/projects/hpop/

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.




--------------------
From: =?Utf-8?B?UGF1bCBT?= <[email protected]>
References: <[email protected]>
Subject: Re: Decing a POP3 email
Date: Mon, 24 Mar 2008 13:15:04 -0700
Hi
This was more a question of whether the framework contained some sort of
help in decoding a qouted-printable text.
 
Back
Top