hi guys
do you spot the not?
I don't understand why this method in my class don't send email message to me?Code://email user function emailUserPass() { $user = $this->userName; $pass = $this->passWord; $to = $this->email; $subject = 'Your username and password from onstaged.com'; $message = 'Hello this is from onstaged.com\n\n'; $message .= 'username: '. $user; $message .= '\npassword: '. $pass; $message .= '\n\n'; $message .= 'Thank you!'; $headers = 'From: onstaged' . "\r\n" . 'Reply-To: support' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers); }
thank you in advance.





Bookmarks