summaryrefslogtreecommitdiff
path: root/config/initializers/mailboxer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/mailboxer.rb')
-rw-r--r--config/initializers/mailboxer.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/config/initializers/mailboxer.rb b/config/initializers/mailboxer.rb
new file mode 100644
index 0000000..2778a10
--- /dev/null
+++ b/config/initializers/mailboxer.rb
@@ -0,0 +1,17 @@
+Mailboxer.setup do |config|
+
+ #Configures if you applications uses or no the email sending for Notifications and Messages
+ config.uses_emails = false
+
+ #Configures the default from for the email sent for Messages and Notifications of Mailboxer
+ config.default_from = "no-reply@mailboxer.com"
+
+ #Configures the methods needed by mailboxer
+ config.email_method = :mailboxer_email
+ config.name_method = :name
+
+ #Configures if you use or not a search engine and wich one are you using
+ #Supported enignes: [:solr,:sphinx]
+ config.search_enabled = false
+ config.search_engine = :solr
+end