Author |
|
hyperpac Newbie


Joined: 23 January 2011 Location: Germany
Online Status: Offline Posts: 17
|
Posted: 04 February 2011 at 6:52am | IP Logged
|
|
|
Hey,
every time I try to empty the trash, I get the following error. Although the error appears, the mails are deleted afterwards.
What can I do ?
Thx & best regards
Pac
Notice: Use of undefined constant MAILMODE_DeleteMessageWhenItsRemovedFromTrash - assumed 'MAILMODE_DeleteMessageWhenItsRemovedFromTrash' in /srv/www/vhosts/webmail.hyperpac.de/httpdocs/common/class_ma ilprocessor.php on line 729 Notice: Use of undefined constant MAILMODE_KeepMessagesOnServerAndDeleteMessageWhenItsRemovedF romTrash - assumed ' MAILMODE_KeepMessagesOnServerAndDeleteMessageWhenItsRemovedF romTrash' in /srv/www/vhosts/webmail.hyperpac.de/httpdocs/common/class_ma ilprocessor.php on line 730
|
Back to Top |
|
|
hyperpac Newbie


Joined: 23 January 2011 Location: Germany
Online Status: Offline Posts: 17
|
Posted: 04 February 2011 at 7:17am | IP Logged
|
|
|
hyperpac wrote:
Hey,
every time I try to empty the trash, I get the following error. Although the error appears, the mails are deleted afterwards.
|
|
|
Update: The mails are NOT deleted on the server.
|
Back to Top |
|
|
Igor AfterLogic Support

Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6124
|
Posted: 04 February 2011 at 7:20am | IP Logged
|
|
|
Locate the following code in common/class_mailprocessor.php file (line ~729):
Code:
if ($this->_account->MailMode == MAILMODE_DeleteMessageWhenItsRemovedFromTrash ||
$this->_account->MailMode == MAILMODE_KeepMessagesOnServerAndDeleteMessageWhenItsRemovedF romTrash) |
|
|
and replace it with:
Code:
if ($this->_account->MailMode == EAccountMailMode::DeleteMessageWhenItsRemovedFromTrash ||
$this->_account->MailMode == EAccountMailMode::KeepMessagesOnServerAndDeleteMessageWhenIt sRemovedFromTrash) |
|
|
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Igor AfterLogic Support

Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6124
|
Posted: 04 February 2011 at 7:25am | IP Logged
|
|
|
Sadly, looks like forum is breaking the code. Locate this code and replace
with this.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
hyperpac Newbie


Joined: 23 January 2011 Location: Germany
Online Status: Offline Posts: 17
|
Posted: 04 February 2011 at 8:28am | IP Logged
|
|
|
Done.
It kills the error but it doesn´t solve the problem. The mails are removed from trash but not from the server (POP3)...
|
Back to Top |
|
|
Igor AfterLogic Support

Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6124
|
Posted: 05 February 2011 at 12:06am | IP Logged
|
|
|
I have just checked this myself, and as far as I can tell, this only affects mails removed prior to making
the modification. Once the modification is made, the mails are removed from POP3 server just fine.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|