Back to config actionmailer, the settings are getting set, try mail.joindiaspora.com

This commit is contained in:
Raphael 2010-08-17 15:31:14 -07:00
parent 46e7dbedac
commit a74ea7e80f

View file

@ -44,17 +44,13 @@ Diaspora::Application.configure do
config.action_mailer.delivery_method = :smtp
config.action_mailer.default_url_options = {:host => 'pivots.joindiaspora.com'}
smtp_settings = {
config.action_mailer.smtp_settings = {
:address => 'smtp.gmail.com',
:port => 587,
:domain => 'joindiaspora.com',
:domain => 'mail.joindiaspora.com',
:authentication => 'plain',
:user_name => 'diaspora-pivots',
:password => "xy289|]G+R*-kA",
:enable_starttls_auto => true
}
Mail.defaults do
delivery_method :smtp, smtp_settings
end
end