diff options
author | Struan Donald <struan@exo.org.uk> | 2012-07-24 14:43:17 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-07-24 14:43:17 +0100 |
commit | 8d9d08d0a32d93b653493c3735f35a6a8e494079 (patch) | |
tree | f2d5ce39494d073fc4cab9ded63350ea8a049085 /perllib/FixMyStreet/SendReport | |
parent | 8809bfc5eb256221f2ddd8653e2ab26ce28d975a (diff) |
print out message about reports that we tried to send to unconfirmed email addresses
Diffstat (limited to 'perllib/FixMyStreet/SendReport')
-rw-r--r-- | perllib/FixMyStreet/SendReport/Email.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/perllib/FixMyStreet/SendReport/Email.pm b/perllib/FixMyStreet/SendReport/Email.pm index 404622e9c..654ed6b3a 100644 --- a/perllib/FixMyStreet/SendReport/Email.pm +++ b/perllib/FixMyStreet/SendReport/Email.pm @@ -25,11 +25,11 @@ sub build_recipient_list { unless ($confirmed) { $all_confirmed = 0; - #$note = 'Council ' . $row->council . ' deleted' - #unless $note; + $note = 'Council ' . $row->council . ' deleted' + unless $note; $council_email = 'N/A' unless $council_email; - #$notgot{$council_email}{$row->category}++; - #$note{$council_email}{$row->category} = $note; + $self->unconfirmed_counts->{$council_email}{$row->category}++; + $self->unconfirmed_notes->{$council_email}{$row->category} = $note; } push @{ $self->to }, [ $council_email, $self->councils->{ $council }->{name} ]; |