Nextcloud version (eg, 20.0.5): 27.1.5
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04.3 LTS
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.52
PHP version (eg, 7.4): PHP 8.1.2-1ubuntu2.14
The mail stopped working some time ago, maybe with switch to NC26, but I noticed it just now, as there has not been any error message.
I now notice that no invitations are sent for calendar events and I cannot send a test mail using the configuration. The same configuration used to work and I did not change anything for the configuration besides updating the server.
Is this the first time you’ve seen this error? (Y/N): Yes
Steps to replicate it:
- Enter credentials under Administration Settings → Basic settings → Email server
- Send email
- Get error message: “A problem occurred while sending the email. Please revise your settings. (Error: Email could not be sent. Check your mail server log)”
I am not sure which “mail server log” I could check. The mail server is a remote server. I checked the credentials with a seperate mail program (thunderbird) to verify the settings are working.
The output of your Nextcloud log in Admin > Logging:
no corresponding error/debugging messages in logging
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => '***removed sensitive information***',
'passwordsalt' => '***removed sensitive information***',
'secret' => '***removed sensitive information***',
'trusted_domains' =>
array (
0 => '***removed sensitive information***',
1 => '192.168.0.*',
2 => '***removed sensitive information***',
3 => '10.8.0.*',
),
'datadirectory' => '/media/data/nextcloud',
'dbtype' => 'mysql',
'version' => '27.1.5.1',
'overwrite.cli.url' => '***removed sensitive information***',
'htaccess.RewriteBase' => '/',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'user_nc',
'dbpassword' => '***removed sensitive information***',
'installed' => true,
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'localhost',
'port' => 6379,
0 => 'timeout => 0.0',
),
'simpleSignUpLink.shown' => false,
'app_install_overwrite' =>
array (
0 => 'dicomviewer',
1 => 'joplin',
2 => 'files_3d',
3 => 'whiteboard',
4 => 'previewgenerator',
5 => 'ehr',
6 => 'spreed',
7 => 'health',
8 => 'ransomware_protection',
9 => 'maps',
),
'updater.release.channel' => 'stable',
'default_phone_region' => 'DE',
'updater.secret' => '***removed sensitive information***',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'nameBeforeTheAtSymbol',
'mail_domain' => 'domain.com',
'mail_smtphost' => 'smtp.domain.com',
'mail_smtpport' => '465',
'mail_smtpauth' => 1,
'mail_smtpname' => 'nameBeforeTheAtSymbol@domain.com',
'mail_smtppassword' => '***removed sensitive information***',
'mail_smtpsecure' => 'ssl',
);