made sender address in notifier.rb configurable. This fixes #657

This commit is contained in:
MrZYX 2010-12-03 15:49:34 +01:00
parent acb3381dc6
commit a605ab482b
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
class Notifier < ActionMailer::Base
default :from => "no-reply@joindiaspora.com"
default :from => APP_CONFIG[:smtp_sender_address]
ATTACHMENT = File.read("#{Rails.root}/public/images/diaspora_white_on_grey.png")

View file

@ -54,7 +54,7 @@ default:
smtp_domain: 'example.com'
# Sender address in diaspora's outgoing mail.
smtp_sender_address: 'no-reply@example.com'
smtp_sender_address: 'no-reply@joindiaspora.com'
# Authentication required to send mail. Use one of 'one','plain',
# 'login' or 'cram-md5'. Use 'none' if server do not support