Add missing brackets to the Message-ID of emails
This commit is contained in:
parent
787af8d501
commit
91e8eb4950
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ class Mailer < ActionMailer::Base
|
|||
end
|
||||
|
||||
def mail(args)
|
||||
args[:message_id] ||= "#{Mail.random_tag}@#{default_url_options[:host]}"
|
||||
args[:message_id] ||= "<#{Mail.random_tag}@#{default_url_options[:host]}>"
|
||||
args[:subject] = "[#{FoodsoftConfig[:name]}] #{args[:subject]}"
|
||||
|
||||
if args[:from].is_a? User
|
||||
|
|
Loading…
Reference in a new issue