metamaps--metamaps/config/initializers/mailboxer.rb

22 lines
738 B
Ruby
Raw Normal View History

2016-11-25 16:57:20 +00:00
# frozen_string_literal: true
Mailboxer.setup do |config|
2016-11-25 16:57:20 +00:00
# Configures if your application uses or not email sending for Notifications and Messages
config.uses_emails = true
2016-11-25 16:57:20 +00:00
# Configures the default from for emails sent for Messages and Notifications
config.default_from = 'no-reply@metamaps.cc'
2016-11-25 16:57:20 +00:00
# Configures the methods needed by mailboxer
config.email_method = :mailboxer_email
config.name_method = :name
2016-11-25 16:57:20 +00:00
# Configures if you use or not a search engine and which one you are using
# Supported engines: [:solr,:sphinx]
config.search_enabled = false
config.search_engine = :solr
2016-11-25 16:57:20 +00:00
# Configures maximum length of the message subject and body
config.subject_max_length = 255
2016-11-25 16:57:20 +00:00
config.body_max_length = 32_000
end