Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
221
Merge Requests
221
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
167955df
Commit
167955df
authored
Jun 09, 2002
by
Kjartan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fixing outgoing mails and added some documentation.
parent
3955d683
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
modules/user.module
modules/user.module
+9
-1
modules/user/user.module
modules/user/user.module
+9
-1
No files found.
modules/user.module
View file @
167955df
...
...
@@ -246,7 +246,15 @@ function user_mail($mail, $subject, $message, $header) {
return
user_mail_wrapper
(
$mail
,
$subject
,
$message
,
$header
);
}
else
{
return
mail
(
$mail
,
$subject
,
$message
,
$header
);
/*
** Note: if you are having problems with sending mail, or mails look wrong
** when they are recieved you may have to modify the str_replace to suit
** your systems.
** - \r\n will work under dos and windows.
** - \n will work for linux, unix and BSDs.
** - \r will work for macs.
*/
return
mail
(
$mail
,
$subject
,
str_replace
(
"
\r
"
,
""
,
$message
),
$header
);
}
}
...
...
modules/user/user.module
View file @
167955df
...
...
@@ -246,7 +246,15 @@ function user_mail($mail, $subject, $message, $header) {
return
user_mail_wrapper
(
$mail
,
$subject
,
$message
,
$header
);
}
else
{
return
mail
(
$mail
,
$subject
,
$message
,
$header
);
/*
** Note: if you are having problems with sending mail, or mails look wrong
** when they are recieved you may have to modify the str_replace to suit
** your systems.
** - \r\n will work under dos and windows.
** - \n will work for linux, unix and BSDs.
** - \r will work for macs.
*/
return
mail
(
$mail
,
$subject
,
str_replace
(
"
\r
"
,
""
,
$message
),
$header
);
}
}
...
...
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