static function sendNewsPassMail($reg_mail, $pass) { // $code = wra_users::getRightCode($reg_mail); $subj = "Callback from award"; $body = "new password: " . $pass; $headers = 'From: no-reply@award'; // $res = wra_email::sendemail($reg_mail, $subj, $body); $res = wra_email::sendemail($reg_mail, $subj, $body); }
static function check_email($email) { return wra_email::check_email_address($email); }