Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ISPConfig 3
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
Model registry
Operate
Environments
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
ISPConfig
ISPConfig 3
Commits
6d49fc6a
Commit
6d49fc6a
authored
13 years ago
by
tbrehm
Browse files
Options
Downloads
Patches
Plain Diff
Fixes in welcome email.
parent
c719dc0b
No related branches found
No related tags found
2 merge requests
!46
Master
,
!21
Master
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
server/conf/mail/welcome_email_en.txt
+1
-0
1 addition, 0 deletions
server/conf/mail/welcome_email_en.txt
server/plugins-available/mail_plugin.inc.php
+5
-3
5 additions, 3 deletions
server/plugins-available/mail_plugin.inc.php
with
6 additions
and
3 deletions
server/conf/mail/welcome_email_en.txt
+
1
−
0
View file @
6d49fc6a
From: ISPConfig <postmaster@localhost.localdomain>
Subject: Welcome to your new email account.
Welcome to your new email account. Your webmaster.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
server/plugins-available/mail_plugin.inc.php
+
5
−
3
View file @
6d49fc6a
...
...
@@ -169,8 +169,10 @@ class mail_plugin {
$tmp
=
file
(
$conf
[
'rootpath'
]
.
'/conf/mail/welcome_email_en.txt'
);
}
$welcome_mail_subject
=
trim
(
substr
(
$tmp
[
0
],
8
));
$welcome_mail_from
=
trim
(
substr
(
$tmp
[
0
],
5
));
$welcome_mail_subject
=
trim
(
substr
(
$tmp
[
1
],
8
));
unset
(
$tmp
[
0
]);
unset
(
$tmp
[
1
]);
$welcome_mail_message
=
trim
(
implode
(
$tmp
));
unset
(
$tmp
);
...
...
@@ -180,8 +182,8 @@ class mail_plugin {
$mailHeaders
=
"MIME-Version: 1.0"
.
"
\n
"
;
$mailHeaders
.
=
"Content-type: text/plain; charset=utf-8"
.
"
\n
"
;
$mailHeaders
.
=
"Content-Transfer-Encoding: 8bit"
.
"
\n
"
;
$mailHeaders
.
=
"From:
$welcome
FromName
<
$welcomeFromEmail
>
"
.
"
\n
"
;
$mailHeaders
.
=
"Reply-To:
<
$welcome
FromEmail
>
"
.
"
\n
"
;
$mailHeaders
.
=
"From:
$welcome
_mail_from
"
.
"
\n
"
;
$mailHeaders
.
=
"Reply-To:
$welcome
_mail_from
"
.
"
\n
"
;
$mailTarget
=
$data
[
"new"
][
"email"
];
$mailSubject
=
"=?utf-8?Q?"
.
imap_8bit
(
$welcome_mail_subject
)
.
"?="
;
...
...
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