Nextcloud version 29.0.6
Debian 12
Apache 2.4.62
PHP version 8.2 (fpm)
The issue you are facing:
Some users can’t send e-mail through the mail app.
A pop-up shows saying Message sent, and then another popup saying Unable to send.
The mail get stuck in the Send box.
Some users can send but not the others. They use the same server settings. The Authentication test works.
Is this the first time you’ve seen this error?
Yes. But it is a new install of Nextcloud.
Steps to replicate it:
- Open mail app
- New message
- Write message
- Send Message
- Message not sent
The output of your Nextcloud log in Admin > Logging:
Exception OCA\Mail\Controller\DraftsController::update(): Argument #2 ($accountId) must be of type int, null given, called in /usr/share/cloud/lib/private/AppFramework/Http/Dispatcher.php on line 232 in file ‘/usr/share/cloud/apps/mail/lib/Controller/DraftsController.php’ line 157
- /usr/share/cloud/lib/private/AppFramework/App.phpLigne 184
OC\AppFramework\Http\Dispatcher->dispatch
()
- /usr/share/cloud/lib/private/Route/Router.phpLigne 331
OC\AppFramework\App::main
()
- /usr/share/cloud/lib/base.phpLigne 1058
OC\Route\Router->match
()
- /usr/share/cloud/index.phpLigne 49
OC::handleRequest
()
Causé par TypeError OCA\Mail\Controller\DraftsController::update(): Argument #2 ($accountId) must be of type int, null given, called in /usr/share/cloud/lib/private/AppFramework/Http/Dispatcher.php on line 232
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):