okay that didn't work, lets try it this way
This commit is contained in:
parent
3c980b7201
commit
5437b6fbd0
1 changed files with 4 additions and 3 deletions
|
|
@ -16,10 +16,11 @@ Diaspora::Application.configure do
|
|||
end
|
||||
elsif AppConfig[:mailer_method] == "sendmail"
|
||||
config.action_mailer.delivery_method = :sendmail
|
||||
config.action_mailer.sendmail_settings = {
|
||||
:location => AppConfig[:sendmail_location],
|
||||
:arguments => "-i" if AppConfig[:sendmail_exim_fix]
|
||||
sendmail_settings = {
|
||||
:location => AppConfig[:sendmail_location]
|
||||
}
|
||||
sendmail_settings[:arguments] = "-i" if AppConfig[:sendmail_exim_fix]
|
||||
config.action_mailer.sendmail_settings = sendmail_settings
|
||||
else
|
||||
config.action_mailer.delivery_method = :smtp
|
||||
if AppConfig[:smtp_authentication] == "none"
|
||||
|
|
|
|||
Loading…
Reference in a new issue