search for: poppassword

Displaying 1 result from an estimated 1 matches for "poppassword".

Did you mean: nopassword
2006 Aug 12
1
Problem with cron and a rails script
...ire File.dirname(__FILE__) + ''/../config/environment'' @lists = List.find(:all) #loop through each list @count = 0 while @count < @lists.length @user = User.find(@lists[@count].user_id) Net::POP3.start(@lists[@count].popserver, nil, @lists[@count].popuser, @lists[@count].poppassword) do |pop| pop.mails.each do |email| @the_mail = Processing.receive(email.pop) # processing of the mail Processing.deliver(@new_mail) email.delete end end @count = @count + 1 end The program itself was thrown together and willo be cleaned up after the funct...