-
-
Notifications
You must be signed in to change notification settings - Fork 496
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved mail config to settings variables, added gems for other providers
- Loading branch information
Showing
6 changed files
with
31 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
ActionMailer::Base.smtp_settings = { | ||
:address => "smtp.sendgrid.net", | ||
:port => 587, | ||
:user_name => Settings.mail_username, | ||
:password => Settings.mail_api_key, | ||
:domain => 'heroku.com' | ||
} | ||
:address => Settings.mail_smtp, | ||
:port => Settings.mail_port, | ||
:user_name => Settings.smtp_mail_username, | ||
:password => Settings.smtp_mail_password, | ||
:domain => Settings.mail_domain | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,14 +11,20 @@ site_url: http://support.yourdomain.com # This is the URL of your support site | |
site_name: Helpy Support # This is the name of your support site | ||
site_tagline: Support and Helpdesk Software # This is the tagline of your support site | ||
product_name: # This is the product name your are supporting | ||
support_phone: # This is support number to be displayed | ||
|
||
# Mandrill Account | ||
mandrill_username: #Enter your Madrill username | ||
mandrill_api_key: #Enter your Madrill API Key | ||
support_phone: # This is support number to be displayed | ||
|
||
# Analytics and Tracking | ||
google_analytics_id: #Enter your analytics ID | ||
send_usage_data: true | ||
|
||
#Mail specific settings: | ||
admin_email: [email protected] | ||
from_email: [email protected] | ||
from_email: [email protected] # This is the email that will be used for email replies (reply to) | ||
send_email: true #send email or not | ||
|
||
mail_service: :mandrill # :sendgrid :cloudmailin, :postmark, :mandrill, :mailgun | ||
smtp_mail_username: # Enter your SMTP email username | ||
smtp_mail_password: # Enter your SMTP email password | ||
mail_smtp: 'smtp.mandrillapp.com' #Enter the server address for your SMTP server | ||
mail_port: 587 #Enter the port of your SMTP server | ||
mail_domain: #Enter your the heroku.com if you are on heroku, otherwise enter your domain |