Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
travelynx
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
derf
travelynx
Commits
871a44f1
Commit
871a44f1
authored
5 years ago
by
Daniel Friesel
Browse files
Options
Downloads
Patches
Plain Diff
Do not hardcode From mail address
parent
901cfc50
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/travelynx.conf
+12
-8
12 additions, 8 deletions
examples/travelynx.conf
lib/Travelynx/Helper/Sendmail.pm
+1
-1
1 addition, 1 deletion
lib/Travelynx/Helper/Sendmail.pm
with
13 additions
and
9 deletions
examples/travelynx.conf
+
12
−
8
View file @
871a44f1
...
...
@@ -22,14 +22,6 @@
password
=>
die
(
"Changeme!"
),
},
mail
=> {
# If you want to disable outgoing mail for development purposes,
# uncomment the following line. Mails will instead be logged as
# Mojolicious "info" messages, causing their content to be printed on
# stdout.
## disabled => 1,
},
# See the Mojo::Server::Hypnotoad manual for details on the following
# settings.
hypnotoad
=> {
...
...
@@ -41,6 +33,18 @@
spare
=>
2
,
},
mail
=> {
# If you want to disable outgoing mail for development purposes,
# uncomment the following line. Mails will instead be logged as
# Mojolicious "info" messages, causing their content to be printed on
# stdout.
## disabled => 1,
# Otherwise, specify the sender ("From" field) for mail sent by travelynx
# here. E.g. 'Travelynx <mail@example.org>'
from
=>
die
(
"Changeme!"
),
},
# Secrets used for cookie signing and verification. Must contain at least
# one random string. If you specify several strings, the first one will
# be used for signing new cookies, and the remaining ones will still be
...
...
This diff is collapsed.
Click to expand it.
lib/Travelynx/Helper/Sendmail.pm
+
1
−
1
View file @
871a44f1
...
...
@@ -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
',
],
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment