Ruby, Rails and POP3 Email

Hi, I'm processing emails from a gmail account using POP3 and stunnel,
I can connect fine and receive emails fine, but when i process the
email (pop.mails.pop) I can't seem to ever get that same email again.
The emails are still in the gmail account, but when I run my email code
again i don't get anything, unless there are new emails. Is there a
way to tell it to get all the mails, not just the new ones? How does
it even know that it has already received those mails even after
restarting both the server and stunnel process? Any help would be
great,

John

jd wrote:

Hi, I'm processing emails from a gmail account using POP3 and stunnel,
I can connect fine and receive emails fine, but when i process the
email (pop.mails.pop) I can't seem to ever get that same email again.
The emails are still in the gmail account, but when I run my email code
again i don't get anything, unless there are new emails. Is there a
way to tell it to get all the mails, not just the new ones? How does
it even know that it has already received those mails even after
restarting both the server and stunnel process? Any help would be
great,

My experience with GMail is it will never send down the same mail twice, and you will always see it in the Ajax listing, unless you delete it from the server. And GMail will never send down a mail that you ever once marked as "read". This effect is above and beyond the mere POP3 protocol, and would tend to indicate they are being gracious by providing raw and un-advertised POP3 at all, and would much prefer their advertisers get to search into your mails and jockey for your eyeballs.

Suggestion: Hit a dumb POP3 account (such as your ISP's) and see if you pull your mails.

Cool, thanks a lot I will give that a try,

-Johnm