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
12
votes
3 answers

OpenPop.net get actual message text

I am using OpenPop.net to try and parse our links from all the emails that are in a given inbox. I found this method to get all the message: public static List FetchAllMessages(string hostname, int port, bool useSsl, string…
user1213488
  • 473
  • 2
  • 7
  • 19
12
votes
7 answers

How to save email attachment using OpenPop

I have created a Web Email Application, How do I view and save attached files? I am using OpenPop, a third Party dll, I can send emails with attachments and read emails with no attachments. This works fine: Pop3Client pop3Client =…
Pomster
  • 14,567
  • 55
  • 128
  • 204
6
votes
3 answers

how to distinguish "real" mail attachment from pics in html mail?

I was messing around with OpenPop, a library written in C# for POP3 mail fetch. It seems to work OK, but I didn't quite get the idea how to make a difference between explicitly attached files to mail, and stuff like pictures in HTML-content mails.…
Less
  • 3,047
  • 3
  • 35
  • 46
5
votes
2 answers

How can I know which email is a reply to another email, in C#?

I have developed a web application, in which there's a functionality to enter note for a particular Sales-Order. When a note is entered by a Customer or a Customer Service Executive, an email notification is sent to the relevant party (email…
Devraj Gadhavi
  • 3,541
  • 3
  • 38
  • 67
5
votes
2 answers

How to read latest email using pop3 c#

I want to read emial from my gmail account. I am using "OpenPop.Pop3" to read email from my gmail account, I am using below code :- using OpenPop.Pop3; public DataTable ReadEmailsFromId() { DataTable table = new DataTable(); …
Anand Systematix
  • 632
  • 5
  • 15
4
votes
2 answers

OpenPop - Gmail - GetMessageCount() returns 0 (zero)

When connecting to Gmail with OpenPop, I can only retrieve an email once, even if I do not delete it. Using GetMessageCount() I always receive 0 emails. How can I get all the emails that are there? Only after reading them and processing them do I…
Dryadwoods
  • 2,875
  • 5
  • 42
  • 72
3
votes
2 answers

C#: Could not load file or assembly 'OpenPop, Version=2.0.4.369, Culture=neutral, PublicKeyToken=null' or one of its dependencies

I am attempting to use OpenPop.NET to access a gmail account, however I am receiving the error message below even with basic testing code. Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.…
jdawkins
  • 180
  • 1
  • 8
3
votes
1 answer

How do I resolve a OpenPop.Net Authenticate Exception

I am using OpenPop.Net to connect to a GoDaddy hosted email account in a C# application. The Authenticate() method throws an exception with the error message of "The stream used to retrieve responses from was closed". I doubled checked that the…
Frank Perez
  • 993
  • 8
  • 18
3
votes
1 answer

OpenPop : how can I turn off DEBUG printing?

When I use OpenPop.NET lib for draging emails or others, it always shows by console debugging info like: OpenPOP: (DEBUG) SendCommand: "RETR 84" OpenPOP: (DEBUG) Server-Response: "+OK message follows" OpenPOP: (DEBUG) SendCommand: "RETR 85" OpenPOP:…
Rich
  • 313
  • 1
  • 2
  • 10
3
votes
1 answer

How to download multiple attachments using openpop.net

I am trying to create a pop3 email client using openpop.net. Here is what I have tried in the download function (from a template field of a gridview): [Serializable] public class Email { public Email() { …
Raging Bull
  • 18,593
  • 13
  • 50
  • 55
2
votes
1 answer

How to read latest email from Yahoo mail using pop3 c#

I want to read email from my yahoo mail account. I am using "OpenPop.Pop3" to read email from my yahoo mail account, I am using below code :- using OpenPop.Pop3; public DataTable ReadEmailsFromId() { DataTable table = new DataTable(); …
Nayan Katkani
  • 806
  • 8
  • 18
2
votes
2 answers

openpop.NET File, MessageHeader, RfcMailAddress, Message could not be found

I am using openpop.net to read emails and print them after checking the subject. However im stuck on the first step, MessageHeader, RfcMailAddress and File shows up as error "The type or namespace name "Message Header" could not be found". I think i…
2
votes
1 answer

OpenPop - get email details c#

im trying to make a sort of email receiver and so far i have got a button, which when pressed will show me the body of the newest email which is perfectly what i want except i also wanted the subject, sender and most importantly the time. Code is…
Jason
  • 233
  • 4
  • 17
2
votes
1 answer

OpenPop.Net not getting all emails from Gmail

I have this code: public List GetAttachments() { string hostname = "pop.gmail.com"; int port = 995; bool useSSL = true; string attachmentType = "application/pdf"; string email = "myemail@gmail.com"; string…
KleberBH
  • 452
  • 1
  • 9
  • 28
2
votes
2 answers

Move email to another folder with OpenPop

How I can to move emails from inbox to some folder, for example folder "test" Pop3Client client = new Pop3Client() client contains method to get email in html, xml, etc. also delete email or delete all emails, but I need to move some email to…
Alex
  • 8,908
  • 28
  • 103
  • 157
1
2 3 4 5 6 7 8