Changeset 329
- Timestamp:
- 2009-07-05 15:08:11 (3 years ago)
- Files:
-
- trunk/classes/misc/Member.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/classes/misc/Member.php
r322 r329 814 814 * $email - new user's mail address 815 815 * $auth_code - authentication code entered 816 * $ sendmail - send the owner of the new account a mail?816 * $mail - send the owner of the new account a mail? 817 817 * Returns: Array(TRUE|FALSE, success or failure message) 818 818 **/ … … 917 917 $q->execute(); 918 918 $q = NULL; 919 if ($ sendmail) {919 if ($mail) { 920 920 // send e-mail 921 921 @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");
