Hi I am playing with the Net::POP3 library and some questions have jumped up on my head: This is my code: <pre> Net::POP3.start( 'pop.gmail.com', 995, account_user, account_pass ) do |pop| pop.each_mail do |m| puts m.header m.delete end end </pre> 1) what does m.delete mean? ------- Because as you see I am using it, It suppose to be that I am deleting the emails on the server, but the emails are still there when try to access with my client. Maybe this is because I am testing with a gmail account and it does weird things.. I don't know. 2) how does Net::POP3 detect when an email is already readed and when not? -------- Because I had a lot unread emails on my testing.gmail.account and the script does not download them. And on other test I sent a few emails to my testing.gmail.account and then I read the half of them and then I run my script and it downloaded all of them, the readed and the unread. And once the script has downloaded all of the emails, I go to my gmail.web.email.client and all of them appear as unread. 3) how can I download an email I have already downloaded -------- How I said on the question 2) does not matter if I mark the email as unread or not on my gmail.web.email.client. Once my script has downloaded an email it does not download it again. I don't think this behavior is not correct, I am a few confused.. that's all. Maybe this is not a Ruby question and goes closer to pop protocol.. I don't know Any suggestion is welcome. f. -- Posted via http://www.ruby-forum.com/.