From 19e648687071f46fc84154824d4cb6f094003488 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 6 Nov 2009 16:03:19 +0000 Subject: [PATCH] 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. --- app/models/notifier.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.2