# Polling של אימייל POP3 הפסיק לעבוד

**URL:** <https://meta.discourse.org/t/pop3-email-polling-stopped-working/181115>\
**Category:** Product Support\
**Created:** [25 בפברואר,‏ 2021,‏ 12:59pm UTC](https://meta.discourse.org/t/pop3-email-polling-stopped-working/181115 "2021-02-25T12:59:29Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [11 באפריל,‏ 2021,‏ 10:15pm UTC](https://meta.discourse.org/t/pop3-email-polling-stopped-working/181115/18 "2021-04-11T22:15:10Z")

</div>

Could you apply the following changes to `app/jobs/scheduled/poll_mailbox.rb` inside the docker container before running `Jobs::PollMailbox.new.execute({})` in the rails console?

```diff
       pop3.start(SiteSetting.pop3_polling_username, SiteSetting.pop3_polling_password) do |pop|
+ mail_string = nil
         pop.each_mail do |p|
+ mail_string = nil
           mail_string = p.pop
           break if mail_too_old?(mail_string)
           process_popmail(mail_string)
           p.delete if SiteSetting.pop3_polling_delete_from_server?
+ rescue => e
+ puts e.message
+ puts e.backtrace.join("\n\t")
+ puts "", "MESSAGE:", mail_string if mail_string
         end
       end

```

---

_[View the full topic](https://meta.discourse.org/t/pop3-email-polling-stopped-working/181115)._
