- Nextcloud Server version (e.g., 29.x.x):
Nextcloud Hub 10 (31.0.2)
- Operating system and version (e.g., Ubuntu 24.04):
6.6.51+rpt-rpi-2712
- Web server and version (e.g, Apache 2.4.25):
docker
- Reverse proxy and version _(e.g. nginx 1.27.2)
Nginx
- PHP version (e.g, 8.3):
docker
- Is this the first time you’ve seen this error? (Yes / No):
replace me
- When did this problem seem to first start?
trying to send mail via system
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Docker
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
no
Summary of the issue you are facing:
When I’m trying to configure mail information, the AxiosError: Request failed with status code 400
appears, and also do not send mail
Log entries
Nextcloud
no logging about this error
Configuration
Nextcloud
'mail_smtptimeout' => 30,
'mail_smtpname' => 'info@domain.com',
'mail_smtppassword' => 'password',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_smtphost' => 'smtp.office365.com',
'mail_smtpauth' => 1,
'mail_smtpport' => '587',
'mail_from_address' => 'info',
'mail_domain' => 'domain.com',
Docker
volumes:
nextcloud:
db:
services:
nextcloud-db:
image: mariadb:10.6
restart: always
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=pass
- MYSQL_PASSWORD=pass
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
networks:
- nextcloud
nextcloud-app:
image: nextcloud
restart: always
ports:
- 8080:80
links:
- nextcloud-db
volumes:
- /mnt/skycloud:/var/www/html
environment:
- MYSQL_PASSWORD=pass
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=nextcloud-db
networks:
- shared
- nextcloud
networks:
shared:
external: true
nextcloud: