POP3 Email
page 6 of 6
by Damian Manifold
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 52216/ 37

Articles and Links

Articles
Read POP3 Email with ASP.NET By Chris Garrett

Links
http://www.faqs.org/rfcs/rfc1460.html Post Office Protocol - Version 3


View Entire Article

User Comments

Title: Mr.   
Name: Richard White
Date: 2011-07-31 6:21:25 PM
Comment:
I am using yahoo e-mail to organize a large reunion. I have 1 group, 3 folders pluse my contacts and all of my sent e-mails to the reunion members. I am not at all happy with Yahoo and it is giving me a lot of trouble. How do I get all of this into a Gmail or an at&t account?
Title: SP   
Name: SP
Date: 2010-08-26 1:23:06 PM
Comment:
Utilize seu computador para ligar para qualquer fixo ou celular em todo Brasil.

Economize até 80% em ligações telefônicas

* Tarifa unica por minuto para todo Brasil
* Tarifa unica em qualquer horário
* Ligue para qualquer fixo ou celular
* Sem assinatura
* Sem mensalidade
* R$ 0,22 Local/DDD
* R$ 0,69 Celular Brasil

Baixe o softfone gratuitamente no site www.systemvoice.com.br, faça o cadastro em abra sua conta voip e receba, senha e login.

Teste gratuito de 10 minutos em ligaçoes.
Title: sp   
Name: sp
Date: 2010-07-31 9:08:05 PM
Comment:
Quer melhorar seu site ?
Quer realizar uma campanha digital na Internet ?
A AG360 atua no segmento a mais de 13 anos.
Temos mais de 2000 sites desenvolvidos em nosso portfólio e mais de 250 lojas virtuais com sucesso na WEB.
Experiência e Seriedade.
Solicite nossa equipe comercial.
Agradecemos sua atenção !!
www.ag360.com.br
Title: DF   
Name: DF
Date: 2010-02-11 11:29:10 AM
Comment:
Agora Brasilia possui o GUIA mais completo e robusto da Região!!! Você não pode deixar de conhecer.

ACESSE AGORA: www.acessabrasilia.com

- Assista Tv ao Vivo 24hs
- Lista Telefônica regional
- Guia de Acompanhantes
- Guia Médico
- Guia Odontológico
- Guia Nextel
- WebCan's ao Vivo pelo mundo
- Assista Filmes 24hs totalmente grátis
- Zoológico 24hs ao Vivo
- Escute conversa entre pilotos de Aviões ao vivo
- Classificados
- 2ª Via de contas
- Imagens Via satélite
- Previsão do tempo
- Trabalhos Escolares prontos

Tudo isso e muito mais 100% grátis.

O que Vc sempre quiz em um só lugar.

SUCESSO ABSOLUTO !!!

ACESSE JÁ: www.acessabrasilia.com

contato@acessabrasilia.com
Title: SP.   
Name: SP.
Date: 2010-02-04 2:23:26 PM
Comment:
OLICAB - Comércio de equipamentos p/ lojas Ltda.,
localizada à Rua Ricardo Dalton, 287 - km 25 Via Anhanguera - São Paulo/SP.
Atuando na Área de Instalações Comerciais desde 1994, vem oferecendo aos Supermercadistas e Lojistas, ampla linha de Equipamentos e Acessórios para todos os segmentos de lojas.
- Gôndolas ( Prateleiras ) para Hipermercados e Supermercados, Pet-Shop, Perfumarias, Farmácias, Bombonieri, Lj.de Convenências, Lj. de Presentes,
Papelarias, Material de Construção, etç.
- Racks de Depósitos p/ Hiper e Supermercados,
- Acessórios como Réguas, Ganchos, Cestos e Porta Etiquetas p/Prateleiras em diversas cores.
Fazemos Reformas dos Equips de sua Loja, como (Pés de Gôndolas, Prateleiras, Consoles, Cestos, Podiun p/ Ponta de Gôndolas), etç.
Reposição e Pintura de Gôndolas e Terminais. Oferecemos Serviços Especializados de Pintura Eletrostática (epóxi).
Temos grande variedade de Produtos à pronta-entrega e facilitamos o pagamento.
Entre em contato conosco e confira, através dos nossos - Tels. (011) 3916-6152 / 3916-6013
- Falar c/ Sra. Vera p/ Cel.9195-9536 ou
c/ Sr. Oliveira - Cel. 7133 - 6298
- Site: www.olicab.com.br
- Email: olicab@ig.com.br
Title: Web developer   
Name: Tanveer Ahmad
Date: 2009-12-29 3:37:28 AM
Comment:
Hiii

Its fabulous and great.its working 100% .. Really you do good work thanks a lot .
Title: Deepak   
Name: Saxena
Date: 2009-05-30 5:21:03 AM
Comment:
i want to use you downloads
Title: problem with body mail   
Name: super
Date: 2009-04-12 6:53:44 AM
Comment:
Hi,
This article is helpful. But, I have a big problem with the display of contain's (body) mail. This code displays more informations, letters and numbers without any meaning .
I think that the contain is not formated. Can one help me ?

rafii.mili@gmail.com
Title: Prob. In Running   
Name: Cutama
Date: 2009-04-06 7:58:21 AM
Comment:
DPM assemblies are not necessary, I've removed the reference to DPM assemblies but hte code still runs fine.

However, when I run the code using break points everythign is fine. However, when I deploy the code it pops up errors at c.text=server.htmlencode(m(cnt)..... some tines it is at To and soem times it is at the body.

Pls. Help.
Title: How can I get Assembly?   
Name: Neetu
Date: 2009-03-20 12:51:16 AM
Comment:
Hello There,,

Plz , Can u tell me
how i can download the DPM assembly.
<%@ Register TagPrefix="cc1" namespace="DPM" Assembly="DPM" %>?
waiting for your reply
Title: How to Get only Plain Text   
Name: Nilesh
Date: 2008-12-23 2:11:33 AM
Comment:
HI,
Please give me the code how to Get only plain Text.
Thanks
Title: How to get all the Emails Read/Unread)   
Name: ravi gupta
Date: 2008-12-16 6:29:39 AM
Comment:
HI,
Please give me the code how to Get all emails regardless of Read/unread.

Thanks
Title: Time Outs   
Name: DVD
Date: 2008-12-15 7:00:16 PM
Comment:
This is really helpful code but I'm experiencing really slow performance when I'm accessing even just the headers of a POP3 box with 200+ messages in it (a total of 9mb of mail)and timeouts if I try to access the bodies. Even your demo pages on here time out. When I use a webmail interface to access this mailbox it is much faster. Could you please help identify the source of this problem? Thanks.
Title: Will Not Run On Live Server   
Name: John
Date: 2008-10-15 5:12:20 PM
Comment:
HI

This code works great when running from a test machine and connecting to pop3 on our live server.

But once it gets installed on live server, the page times out.

Any ideas? Do I have to rename the pop3 server as it is local?
Thanks,
John
Title: -ERR Unacceptable command   
Name: Simon
Date: 2008-10-14 10:52:26 AM
Comment:
Hi.

Firstly, thanks for the code, it;s going to really help us.

Getting a problem with the getMail funstion though.

The line: msg = SendCmd("retr " + m.ID.ToString + " 0")

effectively this is writing (for 1st message):
SendCmd(retr 1)

However it is returning:
-ERR Unacceptable command

Any ideas?

Thanks in advance.
Title: plz help me   
Name: raghavenrdra
Date: 2008-09-27 6:57:09 AM
Comment:
how i can download the DPM assembly.
<%@ Register TagPrefix="cc1" namespace="DPM" Assembly="DPM" %>
Title: how to send mails in pop3   
Name: Raghavendra
Date: 2008-09-27 2:31:33 AM
Comment:
hi there.
i read ur artical but i need C#.net code and is there any configure on my system means settings.plz help me.
Title: Outstanding   
Name: Mike
Date: 2008-08-26 3:40:50 PM
Comment:
Outstanding code - THANKS!
Title: email logout   
Name: The 2 Tops
Date: 2008-08-08 7:10:16 AM
Comment:
I logged onto another computer and accessed my e-mail via my Virgin media account. That computer now has my e-mail address and password, in addition to their own, and that user cannot remove my details. Is it possible for one of us to rectify this?
Title: Unread Messages   
Name: DamianM
Date: 2008-05-05 5:13:10 AM
Comment:
POP3 makes no distinction as to whether a message is read or unread. This has to be done in the client.
Title: pop3   
Name: sekhar
Date: 2008-05-05 5:06:59 AM
Comment:
hai,

how to read unread messages from pop3 server
Title: Create New Mail id   
Name: Swati
Date: 2008-05-02 2:43:20 AM
Comment:
Can anyone let me noe how can I make a new mail id in POP 3 server. The thing I want is whenever a new employee joins our organization the new mail id is automatically created on mail server. Plz advice.
Title: telnet   
Name: DamianM
Date: 2008-04-24 9:44:27 AM
Comment:
If you cannot connect via telnet, either the url or the port number is wrong. These are the only variable i can think of.
Title: popcommand with telnet   
Name: fathima
Date: 2008-04-24 7:50:50 AM
Comment:
i have tried to connect pop mail thro telnet.. it doesnt connect.. how can i find where the problem is..
Thanks
Title: GMail   
Name: DamianM
Date: 2008-04-23 4:43:05 AM
Comment:
The only reason I can think of it not working isthat some of the responses might be different to when this was first written.
Try to connect to the pop mail via telnet and see what responses you get.
Title: NetworkStream problem   
Name: Fathima
Date: 2008-04-23 2:42:19 AM
Comment:
Hai,

We use "pop.gmail.com" as server and portnumber as 995.

private s as System.Net.Sockets.NetworkStream
private t as new System.Net.Sockets.TcpClient()
private Cnct as Boolean = false

public Sub new(ByVal Server as string)
Try
t.Connect(Server, 995)
s = t.GetStream()
if Left(getData(), 3) = "+OK" Then
Cnct = true
End if
catch
End Try
End Sub


*************************
From this, we could not get stream data. kindly help to solve this problem.

Thanks in advance
Fathima
Title: .   
Name: DamianM
Date: 2008-04-22 4:10:54 AM
Comment:
The DPM assemblies are not part of the pop3, they are part of the display. They can be ignored.
Title: pop3 email   
Name: fathima
Date: 2008-04-22 1:30:15 AM
Comment:
sir,
what about this DPM assembly.. where can i find these..
with regards,
-fathima
Title: POP 3 Email   
Name: Murali
Date: 2008-02-27 1:55:47 AM
Comment:
Sir
Your codes are very grate but i need the sample source project for my reference. if you can possible please send it to me. my email id is mkmurali.mca@gmail.com. i am expecting to your reply.

Thank you.
By
Murali
Title: Retrieve Message and Headers   
Name: ibraheem Ammrieh
Date: 2008-01-16 9:18:11 AM
Comment:
this code is very grate but it doesn't work on local. you can test this piont. there is a problem in securiy or something else
Title: plz help me   
Name: prashant
Date: 2007-12-22 10:10:53 AM
Comment:
my email id is adc_jain2005@yahoo.co.in

even can you tell me how to read pop3 mailbox which are SSL enabled
Title: plz help me   
Name: prashant
Date: 2007-12-22 10:09:41 AM
Comment:
object reference not set to the instance of the object
in the line
c.text=server.htmlencode(m(cnt).body)....
can you pls tell me how to solve this error or can you send me the project in which your coding is working perfectly
Title: plz help me   
Name: prashant jain
Date: 2007-12-22 10:08:16 AM
Comment:
thank you for replying me
in this coding when i run on the demo you have given then it runs fine without any problem but when i copy paste the coding in my project i run fiine if i debug but if i run without debugging then it gives folllowing error
Title: Attachments   
Name: Damianm
Date: 2007-12-21 6:34:12 AM
Comment:
In the world of pop3 there is really no such think as attachments its all just text, attachments are stored in the email encoded in some form, usually mime. Reading an attachment is just a matter of reading the text from the email them decoding it.
Decoding it depends on how it was decoded as is technically very different from the scope of this article.
Title: pls help in reading attachment   
Name: prashant jain
Date: 2007-12-21 1:21:36 AM
Comment:
its fine
but on reading attachment its gives error
can you please tell me how to read attachment
please mail me on adc_jain2005@yahoo.co.in
Title: Entire Source Code   
Name: Don Sharp
Date: 2007-12-02 6:12:04 PM
Comment:
Is it possible to get the entire source code for this project?

Thanks
Title: Error While trying to view the code   
Name: Balaji
Date: 2007-08-12 11:27:39 PM
Comment:
While trying to view the popmail.aspx.vb, it throws error. Can you please correct the error and help me in getting the content of that page.

Thanks
With Regards
Balaji.
Title: Unread Email   
Name: DamianM
Date: 2007-07-23 5:21:32 AM
Comment:
There is no way using pop3 to determine whether an email is read or unread. This is done by the email client, such as outlook, they keep track of this and it is not a function of POP3.
Title: Help me please !!!   
Name: Edmond
Date: 2007-07-21 9:49:41 AM
Comment:
HI ~
I'm currently doing my project about mail notification tool on the system tray.
My project should be able to check if some new mail is available now from the pop3 webmail server(yahoo mail, hotmail and Gmail). And I will coding in Visual Basic 2005.
But now,I still having some problems. Could you please help me how to check the unread mail from pop3 webmail server.

Please help me. Thanks
Here my email address : ahyeap_4yw@hotmail.com

Best regards,
Edmond
Title: Uread Mail   
Name: Mostafa
Date: 2006-09-14 7:12:42 AM
Comment:
hi
i need to read and save Uread Mail and Attachment
how can i do this
Title: How to get unread emails   
Name: Naveen
Date: 2006-08-09 3:31:15 AM
Comment:
i want to get the all unread mail from the pop3 server. could you please help me how to check the unread mail from pop3 server. i am able to read all mails from POP3 but i am not able to Identify them read/unread.

Please help me

Regards,
Naveen.
naveen_it@hotmail.com
Title: POP3 EMails   
Name: Nirav Dolia
Date: 2006-08-01 9:48:28 AM
Comment:
i want to get the all unread mail from the pop3 server. could you please help me how to check the unread mail from pop3 server. i am able to read all mails from POP3 but i am not able to Identify them read/unread.

Please help me

Thanks
Nirav Dolia
dolianirav@gmail.com
Title: Error in code   
Name: Andy
Date: 2006-06-16 1:35:49 PM
Comment:
I noticed a bug in the following method which was causing the mail body not to be displayed properly:

Public Function getMail(ByRef m As MailMessage) As Boolean
Dim msg As String
Dim hend As Integer

'make sure the buffer is big enough to hold the message.
'to be sure make it just a little bigger
't.ReceiveBufferSize = m.Size
msg = SendCmd("retr " + m.ID.ToString + " 0")

Changing the above line to :
msg = SendCmd("retr " + m.ID.ToString + vbCrLf)
resolved the problem.

Hope this saves someone time. Nice article although!
Title: Excellent Article   
Name: engineer3000
Date: 2006-06-03 4:10:14 AM
Comment:
Hi Buddy,Excellent article. you did a greate job. Thanx a lot....
Title: POP Mail   
Name: Dinesh
Date: 2006-05-29 8:44:32 AM
Comment:
its fantastic
Title: Source in C#?   
Name: Paul
Date: 2006-04-29 12:08:00 AM
Comment:
Great article, exactly what I am looking for, But now I have to translate it to C# to work with my application. Do you by chance have the Source code in C#?
Title: Wonderful   
Name: Deric
Date: 2006-04-19 2:57:07 PM
Comment:
This is great.

Thanks.
Title: Tiwari   
Name: Aashutosh
Date: 2006-04-11 12:26:19 AM
Comment:
Fine article but better to make it in c#.
Title: pop3   
Name: William Wallace
Date: 2005-08-31 5:54:45 AM
Comment:
thanks a lot.... this article is excellent... a great help...
Title: POP3 EMail   
Name: Pankaj
Date: 2005-07-15 9:35:06 AM
Comment:
Hi,
I was looking for such a code and I really found it gr8. I really appreciate for putting this article on the web. It has taken me 2 days to find this article and I really find it very useful. Thanks for this article.
gr8 work
********** THIS ARTICLE IS ULTIMATE IN ITS DOMAIN **********
Title: Very Good   
Name: Abhijit Kulkarni
Date: 2004-10-06 5:20:26 AM
Comment:
This is really good. Help me very much.

Thanks
Abhijit
Title: Excellent   
Name: Bahadir ARSLAN
Date: 2004-08-27 2:20:16 AM
Comment:
Excellent work!
Very easy and clear article...
Title: Progger   
Name: Rob
Date: 2004-07-12 4:32:06 AM
Comment:
Excellent, i enjoyed the article and will use some of it and give credit where it is due.

Thanx again
Rob

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-03-28 5:16:28 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search