From: Tom Hughes Date: Fri, 6 Nov 2009 16:03:19 +0000 (+0000) Subject: Quote the from address explicitly as rails seems to be failing to do X-Git-Tag: live~6462 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/19e648687071f46fc84154824d4cb6f094003488 Quote the from address explicitly as rails seems to be failing to do it, though it looks like it should from a quick glance at the source. --- diff --git a/app/models/notifier.rb b/app/models/notifier.rb index 6ba90ce58..7fc276042 100644 --- a/app/models/notifier.rb +++ b/app/models/notifier.rb @@ -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