Revision 300
Added by stefan almost 19 years ago
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!).