会员名称: '.$member_id.'
称呼: '.$title.'
姓名. '.$name.'
电邮: '.$email.'
电话: '.$tel.'
问题/信息分享: '.$message.'
'; //echo $msg; $subject = "Enquiry Form ".$fname." at profassess website"; $to = 'info@profassess.com'; //$to = 'sirius731@gmail.com'; $body = $msg; $from= $email; $mail = new PHPMailer(); $mail->CharSet = "utf-8"; $mail->From = trim($from); $mail->AddReplyTo($from, $name); $mail->FromName = $name; $mail->Sender = $from; $mail->Subject =$subject; $mail->Body = $body; $mail->isHTML(true); clearstatcache(); $mail->AddAddress($to,"衡润企业顾问有限公司"); $mail->AddAddress("profassess@yahoo.com.hk","衡润企业顾问有限公司"); $result = $mail->Send(); header("Content-type: text/html; charset=utf-8"); if($result){ echo ''; }else{ echo ''; } exit; ?>