Merge pull request #14 from sgmap/customizable-emails
Customizable emails
This commit is contained in:
commit
3c6ae2d005
38 changed files with 722 additions and 143 deletions
|
@ -42,6 +42,17 @@ Rails.application.configure do
|
|||
# Action Mailer settings
|
||||
config.action_mailer.delivery_method = :smtp
|
||||
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
|
||||
Rails.application.routes.default_url_options = {
|
||||
host: 'localhost:3000',
|
||||
protocol: :http
|
||||
}
|
||||
|
||||
# Config for mailcatcher https://mailcatcher.me/
|
||||
config.action_mailer.smtp_settings = {
|
||||
:address => "localhost",
|
||||
:port => 1025,
|
||||
:locale => 'fr'
|
||||
}
|
||||
|
||||
# Config for mailcatcher https://mailcatcher.me/
|
||||
config.action_mailer.smtp_settings = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue