Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
hubzilla
core
Commits
e49c5995
Commit
e49c5995
authored
Mar 21, 2017
by
Zot
Committed by
Mario
Mar 29, 2017
Browse files
use the same host macro for sender address as for reply_to address
parent
b03cd330
Changes
1
Hide whitespace changes
Inline
Side-by-side
Zotlabs/Lib/Enotify.php
View file @
e49c5995
...
...
@@ -67,7 +67,7 @@ class Enotify {
$sender_name
=
$product
;
$hostname
=
\
App
::
get_hostname
();
if
(
strpos
(
$hostname
,
':'
))
$hostname
=
substr
(
$hostname
,
0
,
strpos
(
$hostname
,
':'
));
$hostname
=
substr
(
$hostname
,
0
,
strpos
(
$hostname
,
':'
));
// Do not translate 'noreply' as it must be a legal 7-bit email address
...
...
@@ -77,7 +77,7 @@ class Enotify {
$sender_email
=
get_config
(
'system'
,
'from_email'
);
if
(
!
$sender_email
)
$sender_email
=
'Administrator'
.
'@'
.
\
App
::
get_
hostname
()
;
$sender_email
=
'Administrator'
.
'@'
.
$
hostname
;
$sender_name
=
get_config
(
'system'
,
'from_email_name'
);
if
(
!
$sender_name
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment