aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Email.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/Email.pm')
-rw-r--r--perllib/FixMyStreet/Email.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Email.pm b/perllib/FixMyStreet/Email.pm
index 65b537d85..3d7b48539 100644
--- a/perllib/FixMyStreet/Email.pm
+++ b/perllib/FixMyStreet/Email.pm
@@ -152,7 +152,7 @@ sub find_template_dir {
sub send_cron {
my ( $schema, $template, $vars, $hdrs, $env_from, $nomail, $cobrand, $lang_code ) = @_;
- my $sender = FixMyStreet->config('DO_NOT_REPLY_EMAIL');
+ my $sender = $cobrand->do_not_reply_email;
$env_from ||= $sender;
if (!$hdrs->{From}) {
my $sender_name = $cobrand->contact_name;