forked from bofh/fetsite
mail delivery method: sendmail
This commit is contained in:
@@ -9,14 +9,14 @@ Devise.setup do |config|
|
|||||||
# Configure the class responsible to send e-mails.
|
# Configure the class responsible to send e-mails.
|
||||||
# config.mailer = "Devise::Mailer"
|
# config.mailer = "Devise::Mailer"
|
||||||
config.mailer.default_url_options = { :host => 'localhost:3000' }
|
config.mailer.default_url_options = { :host => 'localhost:3000' }
|
||||||
config.mailer.delivery_method = :smtp
|
config.mailer.delivery_method = :sendmail
|
||||||
config.mailer.smtp_settings = {
|
# config.mailer.smtp_settings = {
|
||||||
:address => "smtp.gmail.com",
|
# :address => "smtp.gmail.com",
|
||||||
:port => 587,
|
# :port => 587,
|
||||||
:user_name => 'testruby12345@gmail.com',
|
# :user_name => 'testruby12345@gmail.com',
|
||||||
:password => 'testtest987',
|
# :password => 'testtest987',
|
||||||
:authentication => 'plain',
|
# :authentication => 'plain',
|
||||||
:enable_starttls_auto => true }
|
# :enable_starttls_auto => true }
|
||||||
|
|
||||||
#config.mailer = "confirmmailer"
|
#config.mailer = "confirmmailer"
|
||||||
# ==> ORM configuration
|
# ==> ORM configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user