### ⚠️ This issue respects the following points: ⚠️
- [X] This is a **bug**, …not a question or a configuration/webserver/proxy issue.
- [X] This issue is **not** already reported on Github _(I've searched it)_.
- [X] Nextcloud Server **is** up to date. See [Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) for supported versions.
- [X] Nextcloud Server **is** running on 64bit capable CPU, PHP and OS.
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).
### Bug description
After updating to NC26 from NC25 the Email Test ist not working anymore as before.
Beim Senden der E-Mail ist ein Problem aufgetreten. Bitte überprüfe deine Einstellungen. (Fehler: E-Mail konnte nicht versandt werden. Prüfe dein E-Mail-Server-Protokoll)
It worked since years with the same setup.
Debug Log for smtp is enabled but no output.
### Steps to reproduce
Goto Grundeinstellungen Send Test Mail
### Expected behavior
success
### Installation method
Other Community project
### Operating system
Debian/Ubuntu
### PHP engine version
PHP 8.1
### Web server
Nginx
### Database engine version
MariaDB
### Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 22.2.3 to 23.0.1)
### Are you using the Nextcloud Server Encryption module?
None
### What user-backends are you using?
- [X] Default user-backend _(database)_
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
### Configuration report
```shell
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"10.10.20.49",
"cloud.grunet.de",
"signaling.grunet.de"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"tempdirectory": "\/NEXTCLOUD-DATA\/data\/tmp",
"dbtype": "mysql",
"version": "26.0.0.11",
"overwrite.cli.url": "https:\/\/cloud.grunet.de",
"overwriteprotocol": "https",
"htaccess.RewriteBase": "\/",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"filelocking.enabled": true,
"memcache.local": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"timeout": 0,
"dbindex": 0
},
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"mail_smtpdebug": true,
"auth.bruteforce.protection.enabled": false,
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"allow_local_remote_servers": true,
"simpleSignUpLink.shown": false,
"skeletondirectory": "",
"auth.webauthn.enabled": false,
"auto_logout": false,
"session_keepalive": true,
"session_lifetime": 86400,
"remember_login_cookie_lifetime": 1296000,
"login_form_autocomplete": true,
"default_language": "de",
"default_locale": "de_DE",
"quota_include_external_storage": false,
"logtimezone": "Europe\/Berlin",
"loglevel": 2,
"log_rotate_size": 26214400,
"filesystem_check_changes": 1,
"ldapIgnoreNamingRules": false,
"ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory",
"appstore.experimental.enabled": false,
"enable_previews": true,
"enabledPreviewProviders": [
"OC\\Preview\\TXT",
"OC\\Preview\\PDF",
"OC\\Preview\\HEIC",
"OC\\Preview\\Image",
"OC\\Preview\\TIFF",
"OC\\Preview\\SVG",
"OC\\Preview\\Movie",
"OC\\Preview\\MKV",
"OC\\Preview\\MP4",
"OC\\Preview\\AVI",
"OC\\Preview\\MarkDown",
"OC\\Preview\\OpenDocument",
"OC\\Preview\\BMP",
"OC\\Preview\\GIF",
"OC\\Preview\\XBitmap",
"OC\\Preview\\HEIF"
],
"preview_libreoffice_path": "\/usr\/bin\/libreoffice",
"preview_max_x": "1080",
"preview_max_y": "1920",
"preview_max_scale_factor": 1,
"preview_max_memory": 512,
"activity_expire_days": 90,
"jpeg_quality": "60",
"defaultapp": "files",
"updater.release.channel": "stable",
"maintenance": false,
"data-fingerprint": "a5a9ea759f55ea52cd84a318a8071c2e",
"app.mail.verify-tls-peer": false,
"app.mail.imap.timeout": 30,
"app.mail.smtp.timeout": 30,
"theme": "",
"knowledgebaseenabled": false,
"default_phone_region": "DE",
"ncd_admin_settings": {
"disallow_aria2_settings": "1"
},
"app_install_overwrite": [
"news",
"richdocumentscode",
"fulltextsearch",
"files_fulltextsearch",
"fulltextsearch_elasticsearch",
"passwords",
"files_fulltextsearch_tesseract",
"memories"
],
"memories.exiftool": "\/var\/www\/nextcloud\/apps\/memories\/lib\/..\/exiftool-bin\/exiftool-amd64-glibc",
"blacklisted_files": [
".htaccess",
"Thumbs.db",
"thumbs.db"
],
"memories.gis_type": 1,
"memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
"memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
"memories.vod.path": "\/var\/www\/nextcloud\/apps\/memories\/exiftool-bin\/go-vod-amd64",
"memories.vod.disable": false
}
}
```
### List of activated Apps
```shell
Enabled:
- activity: 2.18.0
- admin_audit: 1.16.0
- calendar: 4.3.0
- circles: 26.0.0
- cloud_federation_api: 1.9.0
- collectives: 2.3.0
- comments: 1.16.0
- contacts: 5.2.0
- contactsinteraction: 1.7.0
- dav: 1.25.0
- deck: 1.9.0
- federatedfilesharing: 1.16.0
- federation: 1.16.0
- files: 1.21.1
- files_automatedtagging: 1.16.0
- files_external: 1.18.0
- files_fulltextsearch: 25.0.0
- files_pdfviewer: 2.7.0
- files_rightclick: 1.5.0
- files_sharing: 1.18.0
- files_trashbin: 1.16.0
- files_versions: 1.19.1
- fulltextsearch: 25.0.0
- fulltextsearch_elasticsearch: 25.0.0
- groupfolders: 14.0.0
- integration_openai: 1.0.2
- integration_youtube: 0.1.3
- logreader: 2.11.0
- lookup_server_connector: 1.14.0
- maps: 1.0.0
- memories: 4.12.3
- news: 21.1.0
- nextcloud_announcements: 1.15.0
- notes: 4.7.0
- notifications: 2.14.0
- notify_push: 0.6.0
- oauth2: 1.14.0
- password_policy: 1.16.0
- passwords: 2023.3.21
- previewgenerator: 5.2.1
- provisioning_api: 1.16.0
- recognize: 3.7.0
- related_resources: 1.1.0-alpha1
- richdocuments: 8.0.0
- richdocumentscode: 22.5.802
- serverinfo: 1.16.0
- settings: 1.8.0
- sharebymail: 1.16.0
- snappymail: 2.27.1
- spreed: 16.0.0
- systemtags: 1.16.0
- text: 3.7.2
- theming: 2.1.1
- twofactor_backupcodes: 1.15.0
- updatenotification: 1.16.0
- user_status: 1.6.0
- viewer: 1.10.0
- weather_status: 1.6.0
- workflowengine: 2.8.0
Disabled:
- bruteforcesettings: 2.6.0
- dashboard: 7.6.0 (installed 7.5.0)
- encryption: 2.14.0 (installed 2.7.0)
- firstrunwizard: 2.15.0 (installed 2.13.0)
- metadata: 0.17.0 (installed 0.17.0)
- ncdownloader: 1.0.2 (installed 1.0.2)
- photos: 2.2.0 (installed 2.0.1)
- privacy: 1.10.0 (installed 1.2.0)
- quota_warning: 1.15.0 (installed 1.15.0)
- recommendations: 1.5.0 (installed 1.4.0)
- support: 1.9.0 (installed 1.0.0)
- survey_client: 1.14.0 (installed 1.4.0)
- suspicious_login: 4.4.0 (installed 3.1.0)
- twofactor_totp: 8.0.0-alpha.0 (installed 5.0.0)
- user_ldap: 1.16.0 (installed 1.15.0)
```
### Nextcloud Signing status
```shell
No errors have been found.
```
### Nextcloud Logs
```shell
`<html><body>
| Undefined array key "mail_smtpauthtype" at /var/www/nextcloud/apps/settings/templates/settings/admin/additional-mail.php#132
-- | --
</body>
</html>`
```
### Additional info
` 'mail_from_address' => 'noreply',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'domain.de',
'mail_smtphost' => 'IP',
'mail_smtpport' => '25',
'mail_smtpdebug' => true,
`