Changeset 137
- Timestamp:
- 2008-03-15 09:43:02 (10 months ago)
- Files:
-
- trunk/classes/pages/Lostpassword.php (modified) (1 diff)
- trunk/classes/pages/Mail.php (modified) (1 diff)
- trunk/classes/pages/Page.php (modified) (1 diff)
- trunk/classes/pages/Register.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/classes/pages/Lostpassword.php
r20 r137 57 57 Member::setPassword($row->memberid, $p->get()); 58 58 // send mail 59 @mail($email, $SETTINGS['forumname'] . ' - ' . $LANG['Lost_Password'], str_replace(Array('%membername%', '%password%'), Array($row->membername, $p->get()), $LANG['lost_password_mail']), 'From: ' . $SETTINGS['forumadminemail'] );59 @mail($email, $SETTINGS['forumname'] . ' - ' . $LANG['Lost_Password'], str_replace(Array('%membername%', '%password%'), Array($row->membername, $p->get()), $LANG['lost_password_mail']), 'From: ' . $SETTINGS['forumadminemail'] . "\nContent-Type: text/plain; charset=" . $SETTINGS['encoding'] . "\nMIME-Version: 1.0"); 60 60 $div = $this->html->body->addChild('div', $LANG['new_password_sent']); 61 61 $div->addAttribute('class', 'message'); trunk/classes/pages/Mail.php
r27 r137 67 67 } 68 68 // send mail 69 if (@mail($row2->memberemail, $subject, $post . "\n\n-------------\n" . $LANG['mail_sent_through_forum'], 'From: "' . $row->membername . '" <' . $row->memberemail . '>')) {69 if (@mail($row2->memberemail, $subject, $post . "\n\n-------------\n" . $LANG['mail_sent_through_forum'], 'From: "' . $row->membername . '" <' . $row->memberemail . ">\nContent-Type: text/plain; charset=" . $SETTINGS['encoding'] . "\nMIME-Version: 1.0")) { 70 70 // back to user's language 71 71 include('lang/' . $language . '.php'); trunk/classes/pages/Page.php
r126 r137 382 382 $q = NULL; 383 383 // send it 384 @mail($row->receipient, $row->subject, $row->body, 'From: '.$SETTINGS['forumadminemail'] );384 @mail($row->receipient, $row->subject, $row->body, 'From: '.$SETTINGS['forumadminemail'] . "\nContent-Type: text/plain; charset=" . $SETTINGS['encoding'] . "\nMIME-Version: 1.0"); 385 385 // delete mail from 'to do' list 386 386 $q = $C->prepare('DELETE FROM ' . $SETTINGS['dbtableprefix'] . 'mails WHERE id=:id'); trunk/classes/pages/Register.php
r35 r137 131 131 $q = NULL; 132 132 // send e-mail 133 @mail($email, $SETTINGS['forumname'] . ' - ' . $LANG['Registration'], str_replace('%password%', $p->get(), $LANG['welcome_mail']), 'From: ' . $SETTINGS['forumadminemail'] );133 @mail($email, $SETTINGS['forumname'] . ' - ' . $LANG['Registration'], str_replace('%password%', $p->get(), $LANG['welcome_mail']), 'From: ' . $SETTINGS['forumadminemail'] . "\nContent-Type: text/plain; charset=" . $SETTINGS['encoding'] . "\nMIME-Version: 1.0"); 134 134 $div = $this->html->body->addChild('div', $LANG['registration_success']); 135 135 $div->addAttribute('class', 'message');
