On Feb 2 there was a posting about Rebex only downloading unread Gmail messages; there is a change log entry for build 4060 that indicates a workaround was implemented. We just updated to build 4086 and this still appears to be an issue: Rebex returns a count of 0 messages even though there are 50 or 60 visible when in Gmail itself. Also noted in the posting was the failure of messages to be deleted; we experience this too under the older version we were using (from last summer, I believe) but I have not tested this under 4086. Is this supposed to be working now?

Thanks, Allen

asked 01 Apr '11, 16:36

Allen%20Huber's gravatar image

Allen Huber
16
accept rate: 0%

edited 22 Apr '11, 02:27

Martin%20Vobr's gravatar image

Martin Vobr ♦♦
335310


I've tested the mentioned feature of build 4060:

POP3: Added workaround for Gmail's POP3 service which makes retrieved messages invisible next time.messages invisible next time.

And it seems to be working right. I've performed the following steps:

1) Sent some e-mails to my Gmail mailbox and checked they are visible in Inbox on the Gmail web.

2) Listed all messages from the Gmail mailbox using POP3 protocol like in the mentioned post:

Pop3 client = new Pop3(); 
client.Connect("pop.gmail.com", Pop3.DefaultImplicitSslPort, null, Pop3Security.Implicit);
client.Login("username", "password");
//UNCOMMENT THE FOLLOWING LINE AND THE COMPONENT WILL WORK IN THE OLD STYLE (WITHOUT WORKAROUND ADDED IN BUILD 4060)
//client.Options = Pop3Options.DisableGmailRetrieveWorkaround;
Pop3MessageCollection messages = client.GetMessageList(Pop3ListFields.FullHeaders);
foreach (Pop3MessageInfo msg in messages)
{
    MailMessage fullMsg = client.GetMailMessage(msg.SequenceNumber);
    Console.WriteLine("From: " + msg.From + ", To: " + msg.To + ", Subject: " + msg.Subject);
}
client.Disconnect();

3) Executed the code again and again - all messages were listed all the time.

So why would your messages remain in your web Gmail mailbox even if they are no more visible through POP3?

A) If there were some older messages in the mailbox, which have been once touched using the old version of POP3 component (build earlier than 4060), they have been marked as "retrieved by POP3" an they will never be available through POP3 protocol even if using the newest POP3 component. You can reset it according to the following post.

B) If you have deleted the messages using POP3 protocol and your Gmail settings for POP3 deleting is "keep Gmail's copy in the Inbox", the messages are still visible in the Gmail web even though they seem to be deleted through the POP3. To change settings for POP3-delete see the following post.

If none of this alternatives describes your situation and you are still retrieving 0 messages using the Rebex POP3, please write us again and describe your situation in more details (a scrap of code would be helpful).

link

answered 04 Apr '11, 15:02

Jan%20Sotola's gravatar image

Jan Sotola ♦♦
3566
accept rate: 36%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×36
×20
×20
×17

Asked: 01 Apr '11, 16:36

Seen: 666 times

Last updated: 22 Apr '11, 02:27