The issue you are facing: I can’t send E-Mails.
Is this the first time you’ve seen this error? (Y/N) : N
Steps to replicate it:
- Add new E-Mail account
- Manually configure E-Mail account details
- Check E-Mail account and see that E-Mails were retreived
- Click “New Message”
- Select E-Mail account in “From” field (there is a second account, have no idea why)
- Enter E-Mail address of recepient
- The button “send” cannot be pushed.
- This does not happen, when I reply to an E-Mail
The output of your Nextcloud log in Admin > Logging :
[mail] Fatal: OCA\Mail\Exception\ServiceException: IMAP errorError connecting to mail server. at <<closure>>
0. /data/web/1/000/060/221/245148/htdocs/nextcloud/apps/mail/lib/Service/MailManager.php line 101
OCA\Mail\IMAP\MailboxSync->sync(OCA\Mail\Account {})
1. /data/web/1/000/060/221/245148/htdocs/nextcloud/apps/mail/lib/Controller/PageController.php line 119
OCA\Mail\Service\MailManager->getFolders(OCA\Mail\Account {})
2. /data/web/1/000/060/221/245148/htdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 170
OCA\Mail\Controller\PageController->index()
3. /data/web/1/000/060/221/245148/htdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 100
OC\AppFramework\Http\Dispatcher->executeController(OCA\Mail\Controller\PageController {}, "index")
4. /data/web/1/000/060/221/245148/htdocs/nextcloud/lib/private/AppFramework/App.php line 137
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Mail\Controller\PageController {}, "index")
5. /data/web/1/000/060/221/245148/htdocs/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php line 47
OC\AppFramework\App::main("OCA\\Mail\\Controller\\PageController", "index", OC\AppFramework\ ... {}, {_route: "mail.page.index"})
6. <<closure>>
OC\AppFramework\Routing\RouteActionHandler->__invoke({_route: "mail.page.index"})
7. /data/web/1/000/060/221/245148/htdocs/nextcloud/lib/private/Route/Router.php line 297
call_user_func(OC\AppFramework\ ... {}, {_route: "mail.page.index"})
8. /data/web/1/000/060/221/245148/htdocs/nextcloud/lib/base.php line 1012
OC\Route\Router->match("/apps/mail/")
9. /data/web/1/000/060/221/245148/htdocs/nextcloud/index.php line 37
OC::handleRequest()
GET /index.php/apps/mail/
from 37.201.5.12 by admin at 2020-09-30T17:19:27+00:00```
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
note: this file sits at: /path/to/nextcloud/config It seems to be relatede to the nextcloud mail account, not this specific mail account im trying to set up.
<?php
$CONFIG = array (
'instanceid' => 'xxx',
'passwordsalt' => 'xxx',
'secret' => 'xxx',
'trusted_domains' =>
array (
0 => 'xxx',
),
'datadirectory' => 'xxx/nextcloud/data',
'dbtype' => 'mysql',
'version' => '19.0.3.1',
'overwrite.cli.url' => 'xxx',
'dbname' => 'xxx',
'dbhost' => 'xxx',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'xxx',
'dbpassword' => 'xxx',
'installed' => true,
'theme' => '',
'loglevel' => 2,
'maintenance' => false,
'mail_from_address' => 'mail',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'NOT THE DOMAIN I ENTERED FOR THIS MAIL ACCOUNT',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'NOT THE HOST I ENTERED FOR THIS MAIL ACCOUNT',
'mail_smtpport' => '465 ',
'mail_smtpname' => 'NOT THE NAME I ENTERED FOR THIS MAIL ACCOUNT',
'mail_smtppassword' => 'NOT THE PWD I ENTERED FOR THIS MAIL ACCOUNT',
'mail_smtpsecure' => 'ssl',
);
The output of your Apache/nginx/system log in /var/log/____
:
could not locate file