473,385 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Get e-mails from POP3

Is there a way to get e-mails with attachments using .NET 2.0?
If not does anybody knows a component that can do this?
Thank you,
Shimon.
Dec 12 '05 #1
2 1986
..NET features a rich set of socket functionality. The POP3 specification
is well defined by RFC 1939 (http://www.ietf.org/rfc/rfc1939.txt) When you
combine these two things together, it isn't hard to build the functionality
you are talking about.

There are plenty of examples out there (google .NET POP3 client) :
http://www.codeproject.com/csharp/despop3client.asp

I did write a basic POP3 checker (checks if you have any new mail), meant to
be exposed via a webservice for a gadget (ala live.com or longhorn). You
can download the source here: http://openmymind.net/Pop3Notifier.zip

There's a class in there called Pop3Client.cs it doesn't have the
functionality you need (right now it simply supports login and getting a
STAT), but you could build on it so it supports more POP3 functionality.

Karl
--

MY ASP.Net tutorials
http://www.openmymind.net/

"Shimon Sim" <sh**********@community.nospam> wrote in message
news:OY**************@TK2MSFTNGP09.phx.gbl...
Is there a way to get e-mails with attachments using .NET 2.0?
If not does anybody knows a component that can do this?
Thank you,
Shimon.

Dec 13 '05 #2
Thanks for Karl's informative inputs.

Hi Shimon,

So far .NET framework dosn't include build-in pop3 class library, however
as Karl has mentioned, it won't be too complex to build our own Pop3 reader
through the existing network tcp/ip components in .net BCL. Also, there
does exists many 3rd party Pop3 components or sample code over net:
http://www.ostrosoft.com/pop3_component/pop3_vbnet.asp

http://www.jscape.com/articles/retri...l_pop3_vb.html

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME
net>
| References: <OY**************@TK2MSFTNGP09.phx.gbl>
| Subject: Re: Get e-mails from POP3
| Date: Mon, 12 Dec 2005 19:50:14 -0500
| Lines: 33
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| X-RFC2646: Format=Flowed; Response
| Message-ID: <OK**************@TK2MSFTNGP15.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host:
cpe00a0d1b5351c-cm0012c90ddc92.cpe.net.cable.rogers.com 70.29.234.119
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP15.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:364412
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| .NET features a rich set of socket functionality. The POP3
specification
| is well defined by RFC 1939 (http://www.ietf.org/rfc/rfc1939.txt) When
you
| combine these two things together, it isn't hard to build the
functionality
| you are talking about.
|
| There are plenty of examples out there (google .NET POP3 client) :
| http://www.codeproject.com/csharp/despop3client.asp
|
| I did write a basic POP3 checker (checks if you have any new mail), meant
to
| be exposed via a webservice for a gadget (ala live.com or longhorn). You
| can download the source here: http://openmymind.net/Pop3Notifier.zip
|
| There's a class in there called Pop3Client.cs it doesn't have the
| functionality you need (right now it simply supports login and getting a
| STAT), but you could build on it so it supports more POP3 functionality.
|
| Karl
| --
|
| MY ASP.Net tutorials
| http://www.openmymind.net/
|
|
|
| "Shimon Sim" <sh**********@community.nospam> wrote in message
| news:OY**************@TK2MSFTNGP09.phx.gbl...
| > Is there a way to get e-mails with attachments using .NET 2.0?
| > If not does anybody knows a component that can do this?
| > Thank you,
| > Shimon.
| >
|
|
|

Dec 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: WebRod | last post by:
Hi everybody, I just would like to download the new mails I received on my POP3 server (and keep a copy on the server) I use PHP 4.3 and IMAP functions (they are compatible with both POP3 and...
6
by: Robin Becker | last post by:
Hi, I'm getting vast numbers of fake upgrade emails containing some kind of virus. My rather old client can be made to reject these based on some patterns in the subject line. They're nearly all...
4
by: Paul Schmidt | last post by:
Dear list: I am new to python, and I am trying to figure out the short answer on something. I want to open a POP3 mailbox, read the enclosed mail using the POP3 module, , and then process it...
5
by: Emmett Power | last post by:
Hi, I use Access to send emails through SMTP. I'd like to mirror the process and retrieve emails from my SMTP/Pop3 server without the intermediary of Outlook. I don't want to spend a lot of...
3
by: Jay | last post by:
I'm not asking for any code (although it would be nice if someone got a sample). But how would i design a web based POP3 client? I want the users to be able to access the emails from Outlook,...
7
by: Matt Porter | last post by:
I'm writing a c# web app and I can't find a POP3 mail component. I found the SMTP component, but not a POP3 one. Seems like there should be one. What is the name of the POP3 component? or do I...
2
by: Mike Brearley | last post by:
I need to write a script that will check a catch-all mailbox (pop3) and send a non delivery report back to the sender of the email. Background info: I have a domain hosted on a site that offers...
2
by: Uma | last post by:
Hi, I can send emails using SMPT but, don't know how to retrieve email using POP3 ==> Subject, Message Body and file attachments using VB.NET Can anyone help me please, thanks Uma
4
by: =?Utf-8?B?QWxwYW5h?= | last post by:
I am making a thin email client and want to get emails from a pop3 server...Is there any built in support in C# to get emails from a pop3 server and parse the email to show up on the UI ?
0
by: =?Utf-8?B?Q2hhcmxlcw==?= | last post by:
Like many people, I normally use Yahoo! Mail via the web and like to keep all my emails stored on the Yahoo! server. However sometimes I can’t get access to a PC/the web and I download my emails...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.