# SMTP in Docker-Container konfigurieren

**URL:** <https://meta.discourse.org/t/configure-smtp-in-docker-container/235373>\
**Category:** Self-hosting\
**Tags:** unsupported-install\
**Created:** [7. August 2022 um 15:11 UTC](https://meta.discourse.org/t/configure-smtp-in-docker-container/235373 "2022-08-07T15:11:41Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![tobi1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobi1/32/211022_2.png) [@tobi1](https://meta.discourse.org/u/tobi1)\
**Post date:** [10. August 2022 um 15:06 UTC](https://meta.discourse.org/t/configure-smtp-in-docker-container/235373/11 "2022-08-10T15:06:15Z")

</div>

Okay, ich habe jetzt Folgendes ausgeführt

```plaintext
RAILS_ENV=production bundle exec rails c

irb(main):002:0> message = TestMailer.send_test("test@gmail.com")
Traceback (most recent call last):
        2: from app/mailers/test_mailer.rb:7:in `send_test'
        1: from lib/email/build_email_helper.rb:8:in `build_email'
ArgumentError (:arguments expected to be an Array of individual string args)

```

Auch das hier funktioniert nicht:

```plaintext
root@discourse-69c7f5475c-h9qf5:/opt/bitnami/discourse# RAILS_ENV=production bundle exec rails c message = TestMailer.send_test("test@gmail.com")
bash: syntax error near unexpected token `('

```

Mache ich hier etwas falsch?

---

_[View the full topic](https://meta.discourse.org/t/configure-smtp-in-docker-container/235373)._
