aboutsummaryrefslogtreecommitdiffstats
path: root/script/handle-mail-replies.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2015-06-25 10:02:17 +0100
committerLouise Crow <louise.crow@gmail.com>2015-06-25 13:15:55 +0100
commit68a306b56ce328bd4848adf6e2ab26feab8853f2 (patch)
treef80e4df5b2c099fef33f7b3edc6b0301f8648fce /script/handle-mail-replies.rb
parent6e03858dc7c909fb9446c3aaf6c6bc6d17604585 (diff)
Handle non-UTF8 encoding in ruby 1.9 and aboveadd-widget-hotfixed
Diffstat (limited to 'script/handle-mail-replies.rb')
-rwxr-xr-xscript/handle-mail-replies.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/handle-mail-replies.rb b/script/handle-mail-replies.rb
index cbff03acb..29f618154 100755
--- a/script/handle-mail-replies.rb
+++ b/script/handle-mail-replies.rb
@@ -168,7 +168,7 @@ def is_oof?(message)
end
def forward_on(raw_message)
- IO.popen("/usr/sbin/sendmail -i #{AlaveteliConfiguration::forward_nonbounce_responses_to}", "w") do |f|
+ IO.popen("/usr/sbin/sendmail -i #{AlaveteliConfiguration::forward_nonbounce_responses_to}", "wb") do |f|
f.write(raw_message);
f.close;
end