aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/EmailSend.pm
blob: 61d8a70c20caaf073d0124cb8c59bc982f172875 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package FixMyStreet::EmailSend;
use base Email::Send::SMTP;

sub get_env_sender {
    # Should really use cobrand's contact_email function, but not sure how
    # best to access that from in here.
    my $sender = FixMyStreet->config('CONTACT_EMAIL');
    $sender =~ s/team/fms-DO-NOT-REPLY/;
    return $sender;
}

1;