Skip to content

Mail sender display error - Question Mark #8836

@keomabrun

Description

@keomabrun

Steps to reproduce

  1. Configure the mail app
  2. Open the inbox

Expected behavior

The email sender should be displayed correctly.

Actual behavior

The message sender is not displayed correctly. Instead a question mark is displayed.
image

Mail app version

2.2.7

Mailserver or service

OVH Mail

Operating system

Debian Bookworm

PHP engine version

None

Web server

Nginx

Database

None

Additional info

I have two users configured with the same mailbox. Only one of them has this display error.

Here is the error I found in the log file:

[mail] Erreur: OCA\Mail\Exception\ServiceException: Could not load message at <<closure>>

0. /var/www/<redacted.domain.tld>/apps/mail/lib/Controller/MessagesController.php line 205
   OCA\Mail\Service\MailManager->getImapMessage()
1. /var/www/<redacted.domain.tld>/lib/private/AppFramework/Http/Dispatcher.php line 225
   OCA\Mail\Controller\MessagesController->getBody()
2. /var/www/<redacted.domain.tld>/lib/private/AppFramework/Http/Dispatcher.php line 133
   OC\AppFramework\Http\Dispatcher->executeController()
3. /var/www/<redacted.domain.tld>/lib/private/AppFramework/App.php line 172
   OC\AppFramework\Http\Dispatcher->dispatch()
4. /var/www/<redacted.domain.tld>/lib/private/Route/Router.php line 298
   OC\AppFramework\App::main()
5. /var/www/<redacted.domain.tld>/lib/base.php line 1053
   OC\Route\Router->match()
6. /var/www/<redacted.domain.tld>/index.php line 36
   OC::handleRequest()

GET /apps/mail/api/messages/386/body
from <IP> by e at 2023-09-06T08:09:35+00:00

Caused by OCP\AppFramework\Db\DoesNotExistException: Message does not exist
    /var/www/<redacted.domain.tld>/apps/mail/lib/Service/MailManager.php - line 180:
    OCA\Mail\IMAP\MessageMapper->find()
    /var/www/<redacted.domain.tld>/apps/mail/lib/Controller/MessagesController.php - line 205:
    OCA\Mail\Service\MailManager->getImapMessage()
    /var/www/<redacted.domain.tld>/lib/private/AppFramework/Http/Dispatcher.php - line 225:
    OCA\Mail\Controller\MessagesController->getBody()
    /var/www/<redacted.domain.tld>/lib/private/AppFramework/Http/Dispatcher.php - line 133:
    OC\AppFramework\Http\Dispatcher->executeController()
    /var/www/<redacted.domain.tld>/lib/private/AppFramework/App.php - line 172:
    OC\AppFramework\Http\Dispatcher->dispatch()
    /var/www/<redacted.domain.tld>/lib/private/Route/Router.php - line 298:
    OC\AppFramework\App::main()
    /var/www/<redacted.domain.tld>/lib/base.php - line 1053:
    OC\Route\Router->match()
    /var/www/<redacted.domain.tld>/index.php - line 36:
    OC::handleRequest()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    📄 To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions