
genxer
Members-
Posts
11 -
Joined
-
Last visited
genxer's Achievements

Newbie (1/5)
0
Reputation
-
I saw a lot error. I will try it and write here result.
- 19 replies
-
- smtp
- send email
-
(and 1 more)
Tagged with:
-
I deleted this line just for test. But still blank white page... I think have different poblem
- 19 replies
-
- smtp
- send email
-
(and 1 more)
Tagged with:
-
I guess it's my fault and not working But I won't take much of your time:) Thanks
- 19 replies
-
- smtp
- send email
-
(and 1 more)
Tagged with:
-
I attached my function.php when i upload it i did say viewing White blank page functions.php
- 19 replies
-
- smtp
- send email
-
(and 1 more)
Tagged with:
-
When i add this code my web site is not working. Just blank white page i think for following line cause when delete it my code is normal not syntax error. $body= <<<EOT A password recover was requested, if you didn't make this action please ignore this email. <br /> <br />Your Username: <strong>$username</strong><br />Your Reset Key: <strong>$salt</strong><br /> <br />You can reset your password by accessing the following link: <a href="$url/index.php?a=recover&r=1" target="_blank">$url/index.php?a=recover&r=1</a> EOT; sendRecover('[email protected]', 'Wonderful Subject', 'smtp.example.com', '[email protected]', 'jazzman', $salt, $body);
- 19 replies
-
- smtp
- send email
-
(and 1 more)
Tagged with:
-
I added this code in my function.php but it have a syntax problem? Cause i saw an error. i don't understand. Can you send me full code on .txt file? Many thanks for all answer and help.
- 19 replies
-
- smtp
- send email
-
(and 1 more)
Tagged with:
-
I hope so wrong way but i need try someting My hosting Linux server, and my hosting provider said we are stopped SMTP on our IIS all hosting server if you want send email you must add SMTP support on your code like PHPmailler they send me a sample php mail form (PHPmailler). How can i integrate it i dont know.
- 19 replies
-
- smtp
- send email
-
(and 1 more)
Tagged with:
-
Im try with PhpMailler Still not working. function sendRecover($to, $title, $url, $from, $username, $salt) { require_once("class.phpmailer.php"); $mail = new PHPMailer(); $mail->IsSMTP(); // send via SMTP $mail->Host = "mail.site.com"; // SMTP servers $mail->SMTPAuth = true; // turn on SMTP authentication $mail->Username = "[email protected]"; // SMTP username $mail->Password = "mypass"; // SMTP password $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'From: '.$title.' <'.$from.'>' . "\r\n"; $subject = 'Password Recovery - '.$title; $message = 'A password recover was requested, if you didn\'t make this action please ignore this email. <br /><br />Your Username: <strong>'.$username.'</strong><br />Your Reset Key: <strong>'.$salt.'</strong><br /><br />You can reset your password by accessing the following link: <a href="'.$url.'/index.php?a=recover&r=1" target="_blank">'.$url.'/index.php?a=recover&r=1</a>'; $mail->From = "[email protected]"; $mail->Fromname = "Genxer"; $mail->AddAddress = $from; $mail->Subject = $subject; $mail->Body = $message; return @mail($to, $subject, $message, $headers); }
- 19 replies
-
- smtp
- send email
-
(and 1 more)
Tagged with:
-
Yes it is fine but i need smtp support like PhpMailler but i didn'n integrate it in my function. My php knowledge basic. Regards
- 19 replies
-
- smtp
- send email
-
(and 1 more)
Tagged with:
-
Hello, i dont see any error but don't send emails.
- 19 replies
-
- smtp
- send email
-
(and 1 more)
Tagged with:
-
Hello, I don't know very good PHP, I have a problem with send email. My hosting working smtp support but i didn't add it. My function doing send recovery password. How can i add smtp support? function sendRecover($to, $title, $url, $from, $username, $salt) { $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'From: '.$title.' <'.$from.'>' . "\r\n"; $subject = 'Password Recovery - '.$title; $message = 'A password recover was requested, if you didn\'t make this action please ignore this email. <br /><br />Your Username: <strong>'.$username.'</strong><br />Your Reset Key: <strong>'.$salt.'</strong><br /><br />You can reset your password by accessing the following link: <a href="'.$url.'/index.php?a=recover&r=1" target="_blank">'.$url.'/index.php?a=recover&r=1</a>'; return @mail($to, $subject, $message, $headers); }
- 19 replies
-
- smtp
- send email
-
(and 1 more)
Tagged with: