Expected behavior
My Mailfence imap account works well in Thunderbird and my own self hosted Roundcube instance. All emails load.
Actual behavior
It's difficult to be precise with the problem, some emails with attachments, html, images load OK. Some do not.
It appears that all single emails i.e emails that are not part of a conversation or chain do load.
Mail app
Mail app version: 1.10.3
Mailserver or service: mailfence.com
Server configuration
Operating system: Ubuntu server 20.04
Web server: Apache2
Database: mysql
PHP version: 8.0
Nextcloud Version: 22.1.0
Client configuration
Browser: Latest Firefox, Chrome, Edge
Standing by to help find this problem. I'm a bit of a beginner so please give plenty of explanation regarding which logs you need to look at and what commands you want me to run.
..........................
**OCA\\Mail\\Exception\\ServiceException: Could not load message**
0\. /var/www/html/files.matthewchurchill.com/apps/mail/lib/Controller/MessagesController.php - line 249:
OCA\\Mail\\Service\\MailManager->getImapMessage()
1\. /var/www/html/files.matthewchurchill.com/lib/private/AppFramework/Http/Dispatcher.php - line 217:
OCA\\Mail\\Controller\\MessagesController->getBody()
2\. /var/www/html/files.matthewchurchill.com/lib/private/AppFramework/Http/Dispatcher.php - line 126:
OC\\AppFramework\\Http\\Dispatcher->executeController()
3\. /var/www/html/files.matthewchurchill.com/lib/private/AppFramework/App.php - line 156:
OC\\AppFramework\\Http\\Dispatcher->dispatch()
4\. /var/www/html/files.matthewchurchill.com/lib/private/Route/Router.php - line 301:
OC\\AppFramework\\App::main()
5\. /var/www/html/files.matthewchurchill.com/lib/base.php - line 1000:
OC\\Route\\Router->match()
6\. /var/www/html/files.matthewchurchill.com/index.php - line 36:
OC::handleRequest()
**Caused by OCP\\AppFramework\\Db\\DoesNotExistException: Mail body for this mail(16116) could not be loaded**
0\. /var/www/html/files.matthewchurchill.com/apps/mail/lib/Model/IMAPMessage.php - line 564:
OCA\\Mail\\Model\\IMAPMessage->loadBodyData()
1\. /var/www/html/files.matthewchurchill.com/apps/mail/lib/Model/IMAPMessage.php - line 435:
OCA\\Mail\\Model\\IMAPMessage->handleTextMessage()
2\. /var/www/html/files.matthewchurchill.com/apps/mail/lib/Model/IMAPMessage.php - line 550:
OCA\\Mail\\Model\\IMAPMessage->getPart()
3\. /var/www/html/files.matthewchurchill.com/apps/mail/lib/Model/IMAPMessage.php - line 430:
OCA\\Mail\\Model\\IMAPMessage->handleMultiPartMessage()
4\. /var/www/html/files.matthewchurchill.com/apps/mail/lib/Model/IMAPMessage.php - line 375:
OCA\\Mail\\Model\\IMAPMessage->getPart()
5\. /var/www/html/files.matthewchurchill.com/apps/mail/lib/Model/IMAPMessage.php - line 100:
OCA\\Mail\\Model\\IMAPMessage->loadMessageBodies()
6\. /var/www/html/files.matthewchurchill.com/apps/mail/lib/IMAP/MessageMapper.php - line 219:
OCA\\Mail\\Model\\IMAPMessage->__construct()
7\. <<closure>>
OCA\\Mail\\IMAP\\MessageMapper->OCA\\Mail\\IMAP\\{closure}("*** sensiti ... *")
8\. /var/www/html/files.matthewchurchill.com/apps/mail/lib/IMAP/MessageMapper.php - line 233:
array_map()
9\. /var/www/html/files.matthewchurchill.com/apps/mail/lib/IMAP/MessageMapper.php - line 65:
OCA\\Mail\\IMAP\\MessageMapper->findByIds()
10\. /var/www/html/files.matthewchurchill.com/apps/mail/lib/Service/MailManager.php - line 180:
OCA\\Mail\\IMAP\\MessageMapper->find()
11\. /var/www/html/files.matthewchurchill.com/apps/mail/lib/Controller/MessagesController.php - line 249:
OCA\\Mail\\Service\\MailManager->getImapMessage()
12\. /var/www/html/files.matthewchurchill.com/lib/private/AppFramework/Http/Dispatcher.php - line 217:
OCA\\Mail\\Controller\\MessagesController->getBody()
13\. /var/www/html/files.matthewchurchill.com/lib/private/AppFramework/Http/Dispatcher.php - line 126:
OC\\AppFramework\\Http\\Dispatcher->executeController()
14\. /var/www/html/files.matthewchurchill.com/lib/private/AppFramework/App.php - line 156:
OC\\AppFramework\\Http\\Dispatcher->dispatch()
15\. /var/www/html/files.matthewchurchill.com/lib/private/Route/Router.php - line 301:
OC\\AppFramework\\App::main()
16\. /var/www/html/files.matthewchurchill.com/lib/base.php - line 1000:
OC\\Route\\Router->match()
17\. /var/www/html/files.matthewchurchill.com/index.php - line 36:
OC::handleRequest()
Expected behavior
My Mailfence imap account works well in Thunderbird and my own self hosted Roundcube instance. All emails load.
Actual behavior
It's difficult to be precise with the problem, some emails with attachments, html, images load OK. Some do not.
It appears that all single emails i.e emails that are not part of a conversation or chain do load.
Mail app
Mail app version: 1.10.3
Mailserver or service: mailfence.com
Server configuration
Operating system: Ubuntu server 20.04
Web server: Apache2
Database: mysql
PHP version: 8.0
Nextcloud Version: 22.1.0
Client configuration
Browser: Latest Firefox, Chrome, Edge
Standing by to help find this problem. I'm a bit of a beginner so please give plenty of explanation regarding which logs you need to look at and what commands you want me to run.
..........................