Update action_mailer.yml configuration and adapt specs

This commit is contained in:
Sebastian Serth
2023-04-14 15:55:08 +02:00
parent 83e7eb3ce6
commit ccaf49acd5
3 changed files with 12 additions and 9 deletions

View File

@ -1,6 +1,6 @@
test:
default_options:
from: codeocean@hpi.de
from: codeocean@openhpi.de
default_url_options:
host: localhost
delivery_method: :test

View File

@ -1,19 +1,22 @@
default: &default
default_options:
from: codeocean@hpi.de
delivery_method: :smtp
from: codeocean@openhpi.de
development:
<<: *default
default_url_options:
host: localhost
port: 7000
delivery_method: :test
# Open mails in the browser (not compatible with Vagrant)
delivery_method: :letter_opener
# Print mails to the console
# delivery_method: :test
production:
<<: *default
default_url_options:
host: CHANGE_ME
delivery_method: :smtp
test:
<<: *default