summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d7c66b6..839e453 100644
--- a/lib/Travelynx/Helper/Sendmail.pm
+++ b/lib/Travelynx/Helper/Sendmail.pm
@@ -20,7 +20,7 @@ sub custom {
my $reg_mail = MIME::Entity->build(
To => $to,
- From => $from,
+ From => $self->{config}{from},
Subject => encode( 'MIME-Header', $subject ),
Type => 'text/plain',
Charset => 'UTF-8',