Hello,
I am running Plesk on Debian with Opengoo 1.2.0.1.
I modified MailUtilities.class.php to fit my server needs.
Line296: $mailbox_string = "{".$account->getServer().($account->getIncomingSsl() ? ":".$account->getIncomingSslPort() : "")."/imap".($account->getIncomingSsl() ? "ssl/novalidate-cert" : "")."}";
Line 352: $mailbox_string = "{".$account->getServer().($account->getIncomingSsl() ? ":".$account->getIncomingSslPort() : "")."/imap".($account->getIncomingSsl() ? "/ssl/novalidate-cert" : "")."}";
Line 374: $mailbox_string = "{".$account->getServer().($account->getIncomingSsl() ? ":".$account->getIncomingSslPort() : "")."/imap".($account->getIncomingSsl() ? "/ssl/novalidate-cert" : "")."}";
I have entered IMAP with SSL Support and Port 993.
I can see the IMAP folders on the email account edit page.
Now when I try to fetch emails, i get the error:
Fatal error: Cannot pass parameter 1 by reference in PATH/environment/classes/mail/MailUtilities.class.php on line 345
(Fatal 500 when Debug mode is set to false)
When I go to line 345, i see the following:
self::SaveMail($header . $body, $account, $uidl, $state, $imap_folder_name);
I removed that line and fetched email again. The upper message window appeared, telling me it fetched 23 emails. I sure dont see these emails, because they are not being saved.
I assume the problem is in the above line.
Any hint on how to solve this problem?
Kind regards,
Luckyred