Questions tagged [openpop]

open source POP3 client and MIME parser written in C#

From Sourceforge project:

.NET library written in C# with a full implementation of a POP3 client. Easy to use but yet powerful. Includes a robust MIME parser backed by several hundred test cases.

http://hpop.sourceforge.net includes examples, documentation and a general introduction for email.

109 questions
0
votes
2 answers

FindFirstHtmlVersion just returning more html

The openPop function just returns a load of HTML which is difficult to find a way to parse. Has anyone got any ideas on how I should further parse the html so I can get the body of text I need? I've tried getbodyastext method which didn't seem to be…
KswisDev
  • 11
  • 3
0
votes
0 answers

OpenPop.NET save to database or save file

I'm using OpenPop.NET to retrieve emails from client. My idea is to have a service that's working on the background to keep storing new recieved mail from time to time instead of geting it from the client when the user tries to check it, because:…
FabioG
  • 2,936
  • 3
  • 31
  • 50
0
votes
2 answers

openpop, get the mail adress of the receiver (my email)

I am trying to create a small web based mail client and I am using openpop to connect to the mail server, to download all new emails at the server. But I can't get the email of the receiver of the mail(my emailaddress). The mail I am connecting to…
Easyrider
  • 3,199
  • 5
  • 22
  • 32
0
votes
1 answer

Error recieving mail using pop3 in c# wpf to private mail server

Hey guys we have a private email server at work and I need to write a email client to be used by all the developers. I have got it to send email without any problem but I cant seem to get it to retrieve email. I get a error saying the remote…
0
votes
1 answer

Read Pop email in c# using Openpop

I am trying to read pop messages in c# using openpop.While the messages are getting downloaded , they are also getting marked as "READ" on server when i use getMessage function. Is there any way where I could just download the message and it remains…
knowledgeseeker
  • 1,163
  • 4
  • 15
  • 32
0
votes
1 answer

ASP.NET MVC timed actions

I have an ASP.NET MVC 4 project where I process emails too via Pop3 protocol. I use the OpenPop.NET package to parse the emails, but I do not find any method in that to check the emails by time. What is the best solution to check the email account…
Kiss László
  • 265
  • 4
  • 16
0
votes
1 answer

Not finding any new messages received after connection is made

The scenario is a Windows Service connects to an outlook.com or a gmail.com POP3 account using OpenPOP. It finds existing emails if there are any (i.e. client.getMessageCount() returns a value larger than zero). The service keeps the connection…
Quinton Bernhardt
  • 4,773
  • 19
  • 28
0
votes
2 answers

OpenPop.Mime don't find plaintext

i need to recover all my message from my Outlook box. I use the OpenPop open source, but i can't recover the plain text (the value is null) and i don't understand why because when i check up my mail the plain text exist. When i try with the html…
user2275053
  • 1
  • 1
  • 2
0
votes
1 answer

Windows service of OpenPop exit from GetMessage code, same code OK win app

We are implementing the code of downloading the attachment of Gmail A.C using openpop3 namespace. In this code we are checking the attachment size if attachment size is greater than specify value (value set in config file in kb).then it has to…
Sham Yemul
  • 463
  • 7
  • 30
0
votes
1 answer

Get attachment name without downloading the whole message

I do not find a way to get attachment file name without downloading the whole message using OpenPop.Net The Pop3Client.GetMessageHeaders do not expose any data about attachments. The Pop3Client.GetMessage(messageNumber) gives attachment data but…
Tomas
  • 17,551
  • 43
  • 152
  • 257
0
votes
2 answers

OpenPop.Net gets wrong messagecount in case of Gmail

I am unable to get the correct message count in case of accessing gmail using OpenPop.Net. It works perfectly fine with hotmail give the correct email count that is in my inbox pop3Client.Connect(popServerTextBox.Text, int.Parse(portTextBox.Text),…
Umar Malik
  • 63
  • 4
  • 10
0
votes
1 answer

Email Extraction with POP and putting a read flag

Is there any way I can raise a read flag once an email is read using openpop in C#? I have used openpop.dll in my program. I just don't know how to put up a read flag once an email is read.
0
votes
1 answer

GetMessageCount() returns 0 (zero)

public class _Variable { public bool MailStat; public Pop3Client pop3; public int lastmailCount; public int currentmailCount; public Message msg; public MessagePart msgPart; public Timer _timer; } public…
user1493249
  • 11
  • 1
  • 5
0
votes
1 answer

How to open .eml files in the WebBrowser control?

I'd like to ask here, how can I open a .eml file, located in the file system, in a WebBrowser control. Here's what I've at this moment: string uri = Convert.ToString(myDataReader["Uri"]); //obtained the URI from a database query a few lines of code…
João Borrego
  • 95
  • 2
  • 12
-1
votes
1 answer

read outlook email in C# using pop3 (in korean)

I want to read outlook email in C# using pop3. when i get message from my mailbox, there is encoding exception because i read korean email. how can i read korean email? And Can i set mailbox that i want to read? please help me class Program …