diff --git a/src/add-ons/mail_daemon/inbound_protocols/pop3/pop3.cpp b/src/add-ons/mail_daemon/inbound_protocols/pop3/pop3.cpp index 85191d6c19..e84c5e933d 100644 --- a/src/add-ons/mail_daemon/inbound_protocols/pop3/pop3.cpp +++ b/src/add-ons/mail_daemon/inbound_protocols/pop3/pop3.cpp @@ -226,6 +226,9 @@ POP3Protocol::SyncMessages() status_t POP3Protocol::FetchBody(const entry_ref& ref) { + ResetProgress("Fetch body"); + SetTotalItems(1); + status_t error = Connect(); if (error < B_OK) return error; @@ -264,6 +267,9 @@ POP3Protocol::FetchBody(const entry_ref& ref) NotifyBodyFetched(ref, &file); + ReportProgress(0, 1); + ResetProgress(); + Disconnect(); return B_OK; }