From: Poornima Dhanasekar Date: 2009-02-17T17:00:42+09:00 Subject: pop3 error-Need Help Hi, I tried with pop to get my inbox messages from my gmail account.but i got "execution expired" error.plz help me.My code is require 'net/pop' puts "Running Mail Importer..." begin if Net::POP3.start("pop.gmail.com", nil, "gmailaccount", "gmailpassword") Net::POP3.start("pop.gmail.com", nil, "gmailaccount", "gmailpassword") do |pop| puts "After....." if pop.mails.empty? puts "NO MAIL" else pop.mails.each do |email| begin puts "receiving mail..." Notifier.receive(email.pop) email.delete rescue Exception => e puts "Error receiving email at " + Time.now.to_s + "::: " + e.message end end end end else puts "Not Connecting..." end rescue Exception => e puts e end puts "Finished Mail Importer." -- Posted via http://www.ruby-forum.com/.