summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Helper
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-03-13 18:28:13 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2020-03-13 18:28:13 +0100
commit871a44f15e7b59120fe04c033c2158785f5af216 (patch)
tree095528166a7ae42bac5ef73ac00e7becca55e545 /lib/Travelynx/Helper
parent901cfc50d8773c394d49c4b14d78f9caf93ba32a (diff)
Do not hardcode From mail address1.15.7
Diffstat (limited to 'lib/Travelynx/Helper')
-rw-r--r--lib/Travelynx/Helper/Sendmail.pm2
1 files changed, 1 insertions, 1 deletions
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 <travelynx@finalrewind.org>',
+ From => $self->{config}{from},
Subject => $subject,
'Content-Type' => 'text/plain; charset=UTF-8',
],