aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/EmailSend/DoNotReply.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/EmailSend/DoNotReply.pm')
-rw-r--r--perllib/FixMyStreet/EmailSend/DoNotReply.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/EmailSend/DoNotReply.pm b/perllib/FixMyStreet/EmailSend/DoNotReply.pm
new file mode 100644
index 000000000..d1368f00f
--- /dev/null
+++ b/perllib/FixMyStreet/EmailSend/DoNotReply.pm
@@ -0,0 +1,9 @@
+package FixMyStreet::EmailSend::DoNotReply;
+use base Email::Send::SMTP;
+
+sub get_env_sender {
+ my $sender = FixMyStreet->config('DO_NOT_REPLY_EMAIL');
+ return $sender;
+}
+
+1;