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
1 answer

Attachment.Name when retrieving email attachments is null

I'm using openpop to retrieve and process emails, In processing the mails, I'm checking for attachments and saving them to a specific folder. This works fine for csv files but for some reason for pdfs "att.Name" is returning null and won't save.…
user1801525
  • 125
  • 2
  • 5
  • 16
0
votes
1 answer

openpop example not working in VS2012 express C#

When I paste this code in // Download the full message Message message = client.GetMessage(messageNumber); the error is : Error 3 'Message' is an ambiguous reference between 'System.Windows.Forms.Message' and…
user3407537
  • 51
  • 1
  • 13
0
votes
1 answer

How to get list of unseenUids in OenPop in vb

I want to get list of all unseen emails or i want to check whether a email is read or unread in vb. this is the code i am using. Dim pop3Client As Pop3Client Dim uids As New List(Of String) Dim seenUids As New List(Of String) …
Prog Sspl
  • 9
  • 2
0
votes
2 answers

OpenPOP.Net: Not able to delete emails via C#

We are using OpenPop.NET dll for accessing emails via gmail. We are able to get emails but unfortunately we are not able to delete emails via C#. Whenever we are trying to delete the emails it is throwing an error as mentioned below: You cannot…
Vineet More
  • 151
  • 1
  • 2
  • 8
0
votes
1 answer

OpenPop know if delivery-status is success or not

is there anyway to know if delivery-status is sucess or failure using openpop? ContentType {multipart/report; report-type=delivery-status; boundary=24a0c351-fefd-4069-ac9e-a140c0e98b78} System.Net.Mime.ContentType using (Pop3Client client = new…
0
votes
1 answer

Howto Verify Signature of a SMIME multipart/signed application/x-pkcs7-signature Mail

I am working on a larger application which receives email by POP3, IMAP or through import from .msg Files (Exported form Outlook or dragged over from Outlook). Recently I received an email with an attachment "smime.p7m". After further inspection it…
DrKoch
  • 9,556
  • 2
  • 34
  • 43
0
votes
1 answer

Openpop Dll file for a VB project

I would like to use openpop with a VB .Net project and I think the simplest method would be to use a DLL but can anyone tell me where I can get the Dll from please?
JSM
  • 211
  • 1
  • 8
0
votes
1 answer

How to extract latest reply text from email, and cut out previous messages?

I am using OpenPop.dll to read emails in my application. I want to read only the reply of the email not original email which it was replied to. But email is read with previous emails in quotes. I want to remove those previous mail contents. I tried…
0
votes
0 answers

OpenPop pop3 client not fetching more than 355 messages?

I am using the example from OpenPop.net and I only seem to get 355 messages. using(Pop3Client client = new Pop3Client()) { // Connect to the server client.Connect(hostname, port, useSsl); // Authenticate ourselves towards the server …
yoozz
  • 247
  • 2
  • 15
0
votes
1 answer

How to forward multipart MIME emails using POP3 and SmtpClient?

I am setting up to write a small tool to poll a POP3 account, then forward found mail. I'm using the OpenPop.NET library for POP3 access, and will most likely use the .NET SmtpClient and MailMessage classes to forward the mail. OpenPop.NET gives me…
ProfK
  • 49,207
  • 121
  • 399
  • 775
0
votes
1 answer

Restore deleted email with OpenPop.Pop3.Pop3Client

Accidentally I removed few emails with Pop3Client from email I use OpenPop for .net email parsing In the mail client deleted emails disappeared Trash is empty, synchronise with server nothing change. Any proposal how I can to restore this emails?
Alex
  • 8,908
  • 28
  • 103
  • 157
0
votes
2 answers

How to read UTF-8 mail attachments from pop3

E-mail contains XML file attachment in UTF-8 encoding. I'm looking for a way to read this attahcmed from ASP.NET/Mono MVC4 application. I tried to use openpop as described in How to save email attachment using OpenPop using code using…
Andrus
  • 26,339
  • 60
  • 204
  • 378
0
votes
0 answers

Can't able to delete inbox mail from gmail account using OpenPop.Net

I'm using OpenPop DLL and it's working great for my project but i'm getting on issue when i'm using with Gmail Account. I'm not able delete the Email from Gmail after reading. I'm using following code and latest OpenPop DLL : using…
Sensation
  • 113
  • 5
0
votes
2 answers

OpenPop.NET error read email

I have a error, how I solve this? ERROR:The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or a non-white space character among the padding characters. what's meaning?
Moacir
  • 21
  • 3
0
votes
1 answer

How to stop sending read receipt for message read using OpenPop.NET

I am reading all unread emails for an email id using OpenPop.Net in C#. The application is sending read receipt to the sender for all the message read by OpenPop. Please suggest a way to stop sending read receipt.
Romil Kumar Jain
  • 20,239
  • 9
  • 63
  • 92