diff options
author | Edmund von der Burg <evdb@ecclestoad.co.uk> | 2011-02-07 10:48:51 -0300 |
---|---|---|
committer | Edmund von der Burg <evdb@ecclestoad.co.uk> | 2011-02-07 10:48:51 -0300 |
commit | 64555174b30416bfa599b1633dd9c6baff40ab01 (patch) | |
tree | 6c17cbf85f459f5dc2f9c1ee46283ee24eb6ffd6 /bin/send-reports | |
parent | cfdd0bf2faedde2b66b963a0acb9cff3cdd03e5b (diff) |
Send using local MTA if EvEl not configured or not available
Diffstat (limited to 'bin/send-reports')
-rwxr-xr-x | bin/send-reports | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/send-reports b/bin/send-reports index d61269d96..9da9b6238 100755 --- a/bin/send-reports +++ b/bin/send-reports @@ -190,6 +190,7 @@ If you know of an appropriate contact address, please do get in touch. ]\n\n"; $send_web = 0; $send_email = 1; } elsif (mySociety::Config::get('STAGING_SITE')) { + # on a staging server send emails to ourselves rather than the councils @recips = ( mySociety::Config::get('CONTACT_EMAIL') ); } elsif ($site eq 'emptyhomes') { my $council = $row->{council}; |