Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ISPConfig 3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lolo888
ISPConfig 3
Commits
257cd788
Commit
257cd788
authored
Jul 16, 2009
by
tbrehm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed: FS#812 - Mails are missing for user if the username conatins uppercase characters.
parent
a4f044fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
interface/web/mail/mail_domain_edit.php
interface/web/mail/mail_domain_edit.php
+5
-0
interface/web/mail/mail_user_edit.php
interface/web/mail/mail_user_edit.php
+1
-1
No files found.
interface/web/mail/mail_domain_edit.php
View file @
257cd788
...
...
@@ -174,6 +174,11 @@ class page_action extends tform_actions {
// Clients may not set the client_group_id, so we unset them if user is not a admin
if
(
!
$app
->
auth
->
has_clients
(
$_SESSION
[
's'
][
'user'
][
'userid'
]))
unset
(
$this
->
dataRecord
[
"client_group_id"
]);
}
//* make sure that the email domain is lowercase
if
(
isset
(
$this
->
dataRecord
[
"domain"
]))
$this
->
dataRecord
[
"domain"
]
=
strtolower
(
$this
->
dataRecord
[
"domain"
]);
parent
::
onSubmit
();
}
...
...
interface/web/mail/mail_user_edit.php
View file @
257cd788
...
...
@@ -160,7 +160,7 @@ class page_action extends tform_actions {
//* compose the email field
if
(
isset
(
$_POST
[
"email_local_part"
])
&&
isset
(
$_POST
[
"email_domain"
]))
{
$this
->
dataRecord
[
"email"
]
=
$_POST
[
"email_local_part"
]
.
"@"
.
$_POST
[
"email_domain"
]
;
$this
->
dataRecord
[
"email"
]
=
strtolower
(
$_POST
[
"email_local_part"
]
.
"@"
.
$_POST
[
"email_domain"
])
;
// Set the server id of the mailbox = server ID of mail domain.
$this
->
dataRecord
[
"server_id"
]
=
$domain
[
"server_id"
];
...
...
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