Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Program Files\xampp\htdocs\tabaru\lupapass.php on line 46
this is the coding :
Expand|Select|Wrap|Line Numbers
- $to = $v2;
- $from_header = "From: dvdexcalibur.com";
- $subject = "Password anda";
- $body = "Hai ".$v1." ini password anda : ".$v3." apabila anda ingin mengubah password anda, anda dapat pergi ke myaccount.";
- (line 46) if (mail($to, $subject, $body, $from_header)) {
- $err="Message successfully sent!, check email anda untuk mengetahui password anda";$sudah=1;
- } else {
- $err="Message delivery failed...";
- }