Skip to content

Functional development setup without SMTP? #822

@decentral1se

Description

@decentral1se

Related to #821, would it be possible to configure a test email server for development mode? Something like https://mailcatcher.me. In this way, emails would be logged to the terminal and not cause the following error. It can't send any email but I haven't configured it yet. This makes testing and working with a timeoverflow setup that has no SMTP configuration not really workable. You can't create any new users without dropping into the command-line?

app-1 | I, [2025-12-04T09:11:51.775525 #37] INFO -- : [8affe27f-896b-444f-bdd4-a235e1b6d855] Completed 500 Internal Server Error in 239ms (ActiveRecord: 7.1ms (3 queries, 0 cached) | GC: 0.4ms)
app-1 | E, [2025-12-04T09:11:51.783420 #37] ERROR -- : [8affe27f-896b-444f-bdd4-a235e1b6d855]
app-1 | [8affe27f-896b-444f-bdd4-a235e1b6d855] ActionView::Template::Error (Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true):
app-1 | [8affe27f-896b-444f-bdd4-a235e1b6d855]
app-1 | Causes:
app-1 | [8affe27f-896b-444f-bdd4-a235e1b6d855] ArgumentError (Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true)
app-1 | [8affe27f-896b-444f-bdd4-a235e1b6d855] 2:
app-1 | [8affe27f-896b-444f-bdd4-a235e1b6d855] 3:

<%= t('.instruction') %>


app-1 | [8affe27f-896b-444f-bdd4-a235e1b6d855] 4:
app-1 | [8affe27f-896b-444f-bdd4-a235e1b6d855] 5:

<%= link_to t('.action'), edit_password_url(@resource, reset_password_token: @token) %>


app-1 | [8affe27f-896b-444f-bdd4-a235e1b6d855] 6:
app-1 | [8affe27f-896b-444f-bdd4-a235e1b6d855] 7:

<%= t('.instruction_2') %>


app-1 | [8affe27f-896b-444f-bdd4-a235e1b6d855] 8:

<%= t('.instruction_3') %>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions