]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/notifier.rb
Quote the from address explicitly as rails seems to be failing to do
[rails.git] / app / models / notifier.rb
index 6ba90ce58954b0096cc621ba260bb80e0f86a4ce..7fc276042c54817aec620fdd6ad47efe5c2457f4 100644 (file)
@@ -112,7 +112,7 @@ private
 
   def from_header(name, type, id, digest)
     if domain = APP_CONFIG['messages_domain']
-      from "#{name} <#{type}-#{id}-#{digest[0,6]}@#{domain}>"
+      from quote_address_if_necessary("#{name} <#{type}-#{id}-#{digest[0,6]}@#{domain}>", "utf-8")
     end
   end
 end