這是我的PHP代碼:發送自動回覆電子郵件的形式在PHP
<?php
$to = '[email protected]';
$subject = 'New EMail From Your web site:MakeMoneyCorner.com';
$name = $_POST['name'];
$email = $_POST['email'];
$message = <<<EMAIL
from $name
his email is:$email
EMAIL;
$header = '$email';
if($_POST){
mail($to, $subject, $message, $header, $feedback)
$feedback = 'your information has been successfully Send it';
}
if ($mail->send()){
$autoemail = new PHPMailer();
$autoemail->From = "[email protected]";
$autoemail->FromName = "makingmoneycorner.com";
$autoemail->AddAddress($mail->From, $mail->FromName);
$autoemail->Subject = "This Is Your Book About Making Money";
$autoemail->Body = "you can download here :";
$autoemail->Send();
}
?>
** //形式的工作很棒,我能接受,遊客都發送電子郵件,但答覆的內容不工作 爲什麼?
IMG的問題:http://www.gulfup.com/?e4Nb5X
缺少'? – Bijan 2014-11-05 17:37:06