From 871a44f15e7b59120fe04c033c2158785f5af216 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 13 Mar 2020 18:28:13 +0100 Subject: Do not hardcode From mail address --- lib/Travelynx/Helper/Sendmail.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Travelynx/Helper/Sendmail.pm') diff --git a/lib/Travelynx/Helper/Sendmail.pm b/lib/Travelynx/Helper/Sendmail.pm index fa3c4fd..73b08cd 100644 --- a/lib/Travelynx/Helper/Sendmail.pm +++ b/lib/Travelynx/Helper/Sendmail.pm @@ -21,7 +21,7 @@ sub custom { my $reg_mail = Email::Simple->create( header => [ To => $to, - From => 'Travelynx ', + From => $self->{config}{from}, Subject => $subject, 'Content-Type' => 'text/plain; charset=UTF-8', ], -- cgit v1.2.3