# Mailsending via smtp+mailbox.org results in AxiosError: Request failed with status code 400

**URL:** <https://help.nextcloud.com/t/mailsending-via-smtp-mailbox-org-results-in-axioserror-request-failed-with-status-code-400/225252>\
**Category:** ℹ️ Support\
**Tags:** caddy, app\_api, docker, email, mail, mailsetup, nc31\
**Created:** [May 18, 2025, 4:56pm UTC](https://help.nextcloud.com/t/mailsending-via-smtp-mailbox-org-results-in-axioserror-request-failed-with-status-code-400/225252 "2025-05-18T16:56:12Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [July 16, 2025, 6:43am UTC](https://help.nextcloud.com/t/mailsending-via-smtp-mailbox-org-results-in-axioserror-request-failed-with-status-code-400/225252/3 "2025-07-16T06:43:52Z")

</div>

Maybe this is of any help:

> [@AxiosError: Request failed with status code 400](https://help.nextcloud.com/t/axioserror-request-failed-with-status-code-400/217651/12):
>
> I have solved my question. If the problem occurs, you can try the following methods to solve it: Manually configure the email server: 'mail\_smtpmode' =\> 'smtp'， 'mail\_sendmailmode' =\> 'smtp'， 'mail\_smtphost' =\> 'smtp.mydomain.com'， 'mail\_smtpauth' =\> 1， 'mail\_smtpport' =\> '587'， 'mail\_from\_address' =\> 'noreply'， 'mail\_domain' =\> 'mydomain.com'， 'mail\_smtptimeout' =\> 30， 'mail\_smtpname' =\> ' user@smtphost.com '， 'mail\_smtppassword' =\> 'supersecretpassword'， Note that it is necessary to add th…

---

_[View the full topic](https://help.nextcloud.com/t/mailsending-via-smtp-mailbox-org-results-in-axioserror-request-failed-with-status-code-400/225252)._
