configure mailer

This commit is contained in:
Torsten 2023-01-13 22:26:58 +02:00
parent d869eab476
commit 25b03987ff
2 changed files with 18 additions and 5 deletions

View File

@ -1 +1 @@
jkcNarcfRswF7FzOvG9cD+GNjt5Vv+MIndhtC8sFK0VUufpbp+ONzgQeIV9p8hgjPf32/jZson9wE6BWBcCDWTpQkZ5I+K1OiseKxLgYM+748rspCn/khgAk7/6JhpqEJ1CKCnYPiBLye6uS41kHYhvDz4ymkHysCiNqH9lmih3sUtgUzVT8IK2g0u7eQLoLM4rfMApmdFryxfNrZ1cg9CvfSyG81Nb5hIVcX/533Z2fE9OWorfosmYM9D4w9Oi7wDtqh5eqySIciT1yyhyPC+YkXjzkRDFc3Q8BgVerWvWQ1tGezbssT1c8cYY2DwqE1k32t68fY29Hym6ahGOqvd7bxKMt+8/anVXd2CW7XPub8BnYfgPyXfKR+HCQsh3U3Ho6sg/42JJDF09aC740lZR+F5D8iEHeYAcHtpF4qg0MowYwwNMqX8dqHq+h3VKa7p6zjkKbWBDMxP1SaalCmEv1LjKWB1rEfhm8oqyMPitLqie09+dT2OT+3za4JGVeqTK+B9w02jI+H7JC8fOC7mqnM9eLcUHCyDI9BLwFjLuO9VVYJrCExlJDVApg/ovBL7jVm7Ygq4ml4I+HHvhKU64lTm3d3JVzZhX42u90uYlxgZM0nKrbVbXoiNQGJFvpkWz5wvzwifKqzXnkHJSABXFj6FCBCj8=--4X57Al8e3Y5mZKpt--eipYQLkH8EhKQ7m+U16q6Q==
OaKTik0EStvonrwTuP2M/z94Dn97BOuyOeP0zCgiKOG0C3K9D7XLKwhboSBBprkWBxAadS3U+JXKr+uF3J72fE3DYO2O1Ruddx60CWi4XnIsUi2TUKDgHvvRJMMCp1hbclggixuqH3r5d+YVoFeEtp0XBE1JZscUSDEEG8m7+5WeBnuKa+cWu1OVFtgqn68AAD4Jr8wEp8agNIZlvZk/77nO5jmIpgzWlVsIgznDDdyZW7IK6jdVxKBrnu6HvfJqt8Np9nZnsQ+EtwioCQO5nvfYtM5lrHVOvVKxVnmaycKvC42Vh2MH8IUO2mQZAX5543FPBovmxRcQFqDgrHr6C4NQ2x7UHRxeD5RD6A9fZ4RaEAxKVRYWXL3YVkz+HUutJ+bKJMaMlPwnEBfYnshFJdI5ca57UpiUY+c09WikIDMjZjtCos4obwJbIX8Oy9/ClhSWEkoJBr1eZ3ieUZz66gKZvfiKgNhMnE/KBCj3CqUBmHLi5XfmKqdOlAf+EoZDm4XRbXd4BanmheJ4FWJeIQhFXM7lwIvv1q9PiuBP60Ss95dWQR4q7NZiu3LKkfAodZkgbPjPNzmUWlZsq0q4ze0Koz1XGki9vkx3hz7DbWnHehSuJw2cHKOTJuEfi2b2bXnsVi+vV/+naczyQn9mzU0SG9WHTJZVKUiT8fKnS2v5VO/c3cbYGGylJRNxS0EQ50FDSqgVQgbeI/08BivcBxnGq9beXyuaeqkGE4JFeI9i6gJrU2FfsjKdTjw6T8TwUV6qP0/MJOtSo2UaP4aIFAV7U90+3y0B+mUj2M5JtfpFWMKWcWMNsIHqowINz6H4bnV/XQ==--u9baZdFij677MR3P--ozXUG3v6hK2XQxftbhMiQQ==

View File

@ -55,11 +55,24 @@ Rails.application.configure do
# config.active_job.queue_adapter = :resque
# config.active_job.queue_name_prefix = "hubfeenix_fi_production"
config.action_mailer.perform_caching = false
# Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
# config.action_mailer.raise_delivery_errors = false
config.action_mailer.smtp_settings = {
:address => Rails.application.credentials.mail_server,
:port => 465,
:domain => Rails.application.credentials.domain_name,
:user_name => Rails.application.credentials.admin_email,
:password => Rails.application.credentials.admin_pass,
:ssl => true,
:tls => true,
:authentication => :login,
:enable_starttls_auto => true
}
# ActionMailer Config
config.action_mailer.default_url_options = { :host => Rails.application.credentials.domain_name }
config.action_mailer.delivery_method = :smtp
config.action_mailer.perform_deliveries = true
config.action_mailer.raise_delivery_errors = true
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
# the I18n.default_locale when a translation cannot be found).