# Nextcloud 31.0.8 - @ t-online.de Mailadresse - AxiosError: Request failed with status code 400

**URL:** <https://help.nextcloud.com/t/nextcloud-31-0-8-t-online-de-mailadresse-axioserror-request-failed-with-status-code-400/231622>\
**Category:** 🇩🇪 Deutsch (german)\
**Tags:** update\_problems\
**Created:** [September 7, 2025, 8:45am UTC](https://help.nextcloud.com/t/nextcloud-31-0-8-t-online-de-mailadresse-axioserror-request-failed-with-status-code-400/231622 "2025-09-07T08:45:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![nc-kay](https://help.nextcloud.com/letter_avatar/nc-kay/32/6_22734026db12803ebb3e059622ac3534.png) [@nc-kay](https://help.nextcloud.com/u/nc-kay)\
**Post date:** [September 7, 2025, 8:45am UTC](https://help.nextcloud.com/t/nextcloud-31-0-8-t-online-de-mailadresse-axioserror-request-failed-with-status-code-400/231622/1 "2025-09-07T08:45:59Z")

</div>

alter Thread [AxiosError: Request failed with status code 400 - #18 by RanD](https://help.nextcloud.com/t/axioserror-request-failed-with-status-code-400/217651/18)  
alter Thread Loesung bei mir nicht helfend [AxiosError: Request failed with status code 400 - #2 by nano11bravo](https://help.nextcloud.com/t/axioserror-request-failed-with-status-code-400/217651/2)

Manual [Email — Nextcloud latest Administration Manual latest documentation](https://docs.nextcloud.com/server/26/admin_manual/configuration_server/email_configuration.html#tlspeerverification)

t-online [| Telekom Hilfe](https://www.telekom.de/hilfe/apps-dienste/e-mail/posteingang-postausgang-server)

```auto
Postausgangsserver IMAP und POP3 (SMTP):
Server: securesmtp.t-online.de
Port: 465 oder 587
Sicherheit: SSL

```

**Alte Nextcloud Instanz**

 ![nextcloud-E-Mail-Server-t-online](https://help.nextcloud.com/uploads/default/original/3X/d/d/dd0e2c19685023af511d0f7feb195a831cac44fb.jpeg)

**Neu**  
System:  
Debian 12  
Nextcloud Hub 10 (31.0.8) mit c-rieger Script installiert

Wie löse ich das **Request failed with status code 400** Problem?

Zuvor funktionierte der Emailversand.

 ![nc-31-08_ssl](https://help.nextcloud.com/uploads/default/original/3X/4/1/41541d088ceb327e64a97a0a0e223f6ad5d56e0b.jpeg)

Was muss ich in den Config-Feldern konkret eingeben?  
SSL/TLS kann ich bei **31.0.8** nicht auswählen.

Mein [t-online.de](http://t-online.de) Email\_Postfach (Weiterleitung eingerichtet) kann Emails empfangen.  
Emails kann ich mit dem Postfach auch versenden.

Auszug config.php

```auto
  ),
  'quota_include_external_storage' => false,
  'share_folder' => '/Freigaben',
  'skeletondirectory' => '',
  'trashbin_retention_obligation' => 'auto, 7',
  'maintenance_window_start' => 1,
  'maintenance' => false,
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'fake-emailadresse',
  'mail_domain' => 't-online.de',
  'mail_smtpauth' => true,
  'mail_smtptimeout' => 30,
  'mail_smtpname' => 'fake-emailadresse@t-online.de',
  'mail_smtppassword' => 'passwortimklartext',
  'mail_smtphost' => 'securesmtp.t-online.de',
  'mail_smtpport' => '465',
  'mail_smtpsecure' => 'ssl',
);

```

Ich wundere mich, dass das Passwort im Klartext vorhanden ist, kein Sicherheitsrisiko?

**Mit 1blu (Share Hosting gibt es kein Problem)** (von Email sieht man hier nichts in der config.php) [Shared WebHosting - 1blu - EasyApp Installation - Fehlerbehebung](https://help.nextcloud.com/t/shared-webhosting-1blu-easyapp-installation-fehlerbehebung/187448)

 ![1blue-nextcloud](https://help.nextcloud.com/uploads/default/original/3X/5/6/567cb404bd18e53ac1181196cbd912f588396304.jpeg)

Danke für die Lösung, die ich evtl. bekomme.

MfG  
nc-kay

---

<div class="post-metadata">

**Author:** ![nc-kay](https://help.nextcloud.com/letter_avatar/nc-kay/32/6_22734026db12803ebb3e059622ac3534.png) [@nc-kay](https://help.nextcloud.com/u/nc-kay)\
**Post date:** [September 7, 2025, 11:38am UTC](https://help.nextcloud.com/t/nextcloud-31-0-8-t-online-de-mailadresse-axioserror-request-failed-with-status-code-400/231622/2 "2025-09-07T11:38:12Z")

</div>

c-rieger methode [Nextcloud: SMTP-Probleme (Email) - Carsten Rieger](https://www.c-rieger.de/nextcloud-smtp-probleme-email/)

* * *

## Test mit gmail

----\> Ergebnis, ich kann versenden (Passwort für App Anbieter im gmail Account erstellen)

> **[Mit App-Passwörtern anmelden - Gmail-Hilfe](https://support.google.com/mail/answer/185833?hl=de)**
>
> Wichtig: App-Passwörter werden nicht empfohlen und sind in den meisten Fällen nicht erforderlich. Verwenden Sie zum Schutz Ihres Kontos die Option "Über Google anmelden", um Apps mit Ihrem Google-Kont

Gmail-Info:  
Mit App-Passwörtern können Sie sich in älteren Apps und Diensten, die keine modernen Sicherheitsstandards unterstützen, in Ihrem Google-Konto anmelden.

Der  
SMTP-Postausgangsserver `smtp.gmail.com` unterstützt TLS.  
Wenn Ihr Client mit Klartext beginnt,  
verwenden Sie vor dem Ausgeben des STARTTLS-Befehls Port `465` (für SSL) oder Port `587` (für TLS).

 ![nc_gmail-smtp](https://help.nextcloud.com/uploads/default/original/3X/a/e/ae59373c4693f4b6a307f9ab7627e11f638746bd.jpeg)

```auto

config.ph Ausschnitt für gmail:

 'theme' => '',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_smtphost' => 'smtp.gmail.com',
  'mail_smtpport' => '465',
  'mail_smtpauth' => true,
  'mail_domain' => 'gmail.com',
  'mail_smtpname' => 'datenschutzgeheim@gmail.com',
  'mail_smtppassword' => 'lssf ugsp rrch oogm',
  'mail_from_address' => 'datenschutzgeheim',
  'mail_smtpsecure' => 'ssl',
);

```

“mail\_smtppassword’ =\> ‘ **lssf ugsp rrch oogm** ’,” wird auf der gmail WebGUI erstellt.

---

<div class="post-metadata">

**Author:** ![nc-kay](https://help.nextcloud.com/letter_avatar/nc-kay/32/6_22734026db12803ebb3e059622ac3534.png) [@nc-kay](https://help.nextcloud.com/u/nc-kay)\
**Post date:** [September 8, 2025, 4:39pm UTC](https://help.nextcloud.com/t/nextcloud-31-0-8-t-online-de-mailadresse-axioserror-request-failed-with-status-code-400/231622/3 "2025-09-08T16:39:59Z")

</div>

\*\*

## t-online\_de Email

\*\*

Hat jemand eine t-online\_de Mail funktionierende /var/www/nextcloud/config/config.php  
für mich?

---

<div class="post-metadata">

**Author:** ![scubamuc](https://help.nextcloud.com/user_avatar/help.nextcloud.com/scubamuc/32/63165_2.png) [@scubamuc](https://help.nextcloud.com/u/scubamuc)\
**Post date:** [September 8, 2025, 5:45pm UTC](https://help.nextcloud.com/t/nextcloud-31-0-8-t-online-de-mailadresse-axioserror-request-failed-with-status-code-400/231622/4 "2025-09-08T17:45:34Z")

</div>

@nc-kay,

hat dein Admin oder Benutzer Profil eine gültige Mailadresse eingetragen?

Wenn dort eine gültige Mailadresse eingetragen ist sollte alles funktionieren.

---

<div class="post-metadata">

**Author:** ![nc-kay](https://help.nextcloud.com/letter_avatar/nc-kay/32/6_22734026db12803ebb3e059622ac3534.png) [@nc-kay](https://help.nextcloud.com/u/nc-kay)\
**Post date:** [September 8, 2025, 8:48pm UTC](https://help.nextcloud.com/t/nextcloud-31-0-8-t-online-de-mailadresse-axioserror-request-failed-with-status-code-400/231622/5 "2025-09-08T20:48:59Z")

</div>

\*\*

## t-online\_de

\*\*

 ![t-online-nextcloud](https://help.nextcloud.com/uploads/default/original/3X/5/6/567cb404bd18e53ac1181196cbd912f588396304.jpeg)

/var/www/nextcloud/config/config.php

```auto
  'maintenance' => false,
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'nc-kay.fake',
  'mail_domain' => 't-online.de',
  'mail_smtpauth' => true,
  'mail_smtpname' => 'nc-kay.fake@t-online.de',
  'mail_smtppassword' => 'klarschriftgeheimpasswort',
  'mail_smtphost' => 'securesmtp.t-online.de',
  'mail_smtpport' => '465',
  'mail_smtpsecure' => 'ssl',

```

Der Versand funktioniert heute, etwas irritiert bin ich.  
Gestern muss ich irgendwie einen Fehler gemacht haben, die Teilpart der config.php sieht heute anders aus.

Warum wird das Passwort in **klarschrift** geheimpasswort angezeigt, ist das nicht ein Sicherheitsrisiko?

Bei meiner 1blu Nextcloud Instanz ist es nicht in Klarschrift.

---

<div class="post-metadata">

**Author:** ![gerd\_in\_nrw](https://help.nextcloud.com/letter_avatar/gerd_in_nrw/32/6_22734026db12803ebb3e059622ac3534.png) [@gerd\_in\_nrw](https://help.nextcloud.com/u/gerd_in_nrw)\
**Post date:** [October 20, 2025, 11:24am UTC](https://help.nextcloud.com/t/nextcloud-31-0-8-t-online-de-mailadresse-axioserror-request-failed-with-status-code-400/231622/6 "2025-10-20T11:24:03Z")

</div>

Admin Email Adresse und Sendeadresse müssen gleich sein, das hat bei mir den Fehler behoben!

---

<div class="post-metadata">

**Author:** ![bb77](https://help.nextcloud.com/letter_avatar/bb77/32/6_22734026db12803ebb3e059622ac3534.png) [@bb77](https://help.nextcloud.com/u/bb77)\
**Post date:** [October 20, 2025, 2:36pm UTC](https://help.nextcloud.com/t/nextcloud-31-0-8-t-online-de-mailadresse-axioserror-request-failed-with-status-code-400/231622/7 "2025-10-20T14:36:43Z")

</div>

Sorry, aber das stimmt definitiv nicht, bei mir ist es nicht so.

In den „Grundeinstellungen” bzw. der config.php wird die E-Mail-Adresse bzw. der Account konfiguriert, über welchen Nextcloud Benachrichtigungen senden soll. In den persönlichen Einstellungen des Admin-Accounts gibt man die E-Mail-Adresse an, an die E-Mails gesendet werden sollen, die den Admin-User betreffen. Das kann die gleiche Adresse sein, muss aber nicht.

Ebenso kann jeder normale User seine persönliche E-Mail-Adresse angeben, an die Benachrichtigungen gesendet werden sollen, die ihn betreffen. Wenn Benachrichtigungen nur an die in der config.php konfigurierte Adresse gesendet werden könnten, wäre letzteres ja gar nicht möglich. 😉

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [December 6, 2025, 8:46am UTC](https://help.nextcloud.com/t/nextcloud-31-0-8-t-online-de-mailadresse-axioserror-request-failed-with-status-code-400/231622/8 "2025-12-06T08:46:13Z")

</div>

This topic was automatically closed after 90 days. New replies are no longer allowed.
