#22: uname should be in unquotes

This commit is contained in:
Vokhmin Alexey V 2013-03-14 21:40:32 +04:00
parent 207156423a
commit b8a02299fd
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# -*- encoding : utf-8 -*-
class UserMailer < ActionMailer::Base
default :from => "#{APP_CONFIG['project_name']} <#{APP_CONFIG['do-not-reply-email']}>"
default :from => "\"#{APP_CONFIG['project_name']}\" <#{APP_CONFIG['do-not-reply-email']}>"
default_url_options.merge!(:protocol => 'https') if APP_CONFIG['mailer_https_url']
include Resque::Mailer # send email async
@ -82,7 +82,7 @@ class UserMailer < ActionMailer::Base
protected
def email_with_name(user, email = APP_CONFIG['do-not-reply-email'])
"#{user.user_appeal} <#{email}>"
"\"#{user.user_appeal}\" <#{email}>"
end
def subject_for_issue(issue, new_issue = false)