aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2009-03-06 19:50:25 +0000
committerfrancis <francis>2009-03-06 19:50:25 +0000
commit0045d76c7001dce868895d274b1348afa649debc (patch)
treed497b4dd58c9483665a992f79daca83b5a923dd4
parent968024aca3e611b1018c6803d6cc9fba76cf2d4d (diff)
Remove blackhole for tracks
-rw-r--r--app/models/track_mailer.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/models/track_mailer.rb b/app/models/track_mailer.rb
index 36feb707c..9863cbe68 100644
--- a/app/models/track_mailer.rb
+++ b/app/models/track_mailer.rb
@@ -4,7 +4,7 @@
# Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: track_mailer.rb,v 1.14 2009-02-09 10:37:12 francis Exp $
+# $Id: track_mailer.rb,v 1.15 2009-03-06 19:50:25 francis Exp $
class TrackMailer < ApplicationMailer
def event_digest(user, email_about_things)
@@ -15,7 +15,9 @@ class TrackMailer < ApplicationMailer
unsubscribe_url = confirm_url(:email_token => post_redirect.email_token)
@from = contact_from_name_and_email
- headers 'Return-Path' => blackhole_email, 'Reply-To' => @from # we don't care about bounces for tracks
+ # We let it return bounces for now, so we can manually kill the tracks that bounce so Yahoo
+ # etc. don't decide we are spammers.
+ #headers 'Return-Path' => blackhole_email, 'Reply-To' => @from # we don't care about bounces for tracks
@recipients = user.name_and_email
@subject = "Your WhatDoTheyKnow.com email alert"
@body = { :user => user, :email_about_things => email_about_things, :unsubscribe_url => unsubscribe_url }