Revision 300
Added by stefan almost 19 years ago
trunk/wb/admin/login/forgot/index.php | ||
---|---|---|
96 | 96 |
|
97 | 97 |
If you have received this message in error, please delete it immediatly.'; |
98 | 98 |
// Try sending the email |
99 |
if(mail($mail_to, $mail_subject, $mail_message, 'From: '.SERVER_EMAIL)) {
|
|
99 |
if($wb->mail('From: '.SERVER_EMAIL,$mail_to,$mail_subject,$mail_message)) {
|
|
100 | 100 |
$message = $MESSAGE['FORGOT_PASS']['PASSWORD_RESET']; |
101 | 101 |
$display_form = false; |
102 | 102 |
} else { |
trunk/wb/account/forgot_form.php | ||
---|---|---|
87 | 87 |
|
88 | 88 |
If you have received this message in error, please delete it immediatly.'; |
89 | 89 |
// Try sending the email |
90 |
if(mail($mail_to, $mail_subject, $mail_message)) {
|
|
90 |
if($wb->mail('',$mail_to,$mail_subject,$mail_message)) {
|
|
91 | 91 |
$message = $MESSAGE['FORGOT_PASS']['PASSWORD_RESET']; |
92 | 92 |
$display_form = false; |
93 | 93 |
} else { |
trunk/wb/account/signup2.php | ||
---|---|---|
126 | 126 |
If you have recieved this message in error, please delete it immediatly.'; |
127 | 127 |
|
128 | 128 |
// Try sending the email |
129 |
if(mail($mail_to, $mail_subject, $mail_message, 'From: '.SERVER_EMAIL)) {
|
|
129 |
if($wb->mail('From: '.SERVER_EMAIL,$mail_to,$mail_subject,$mail_message)) {
|
|
130 | 130 |
$wb->print_success($MESSAGE['FORGOT_PASS']['PASSWORD_RESET'], WB_URL.'/account/login'.PAGE_EXTENSION); |
131 | 131 |
$display_form = false; |
132 | 132 |
} else { |
Also available in: Unified diff
Changed mail calls to $wb->mail (thanks to John!).