会员名称: '.$member_id2.'
称呼: '.$title2.'
姓名. '.$name2.'
电话: '.$tel2.'
电邮: '.$email2.'
公司: '.$company2.'
地址: '.$address2.'
网址: '.$site2.'
职位: '.$position2.'
活动名称: '.$act_name.'
参加人员名称: '.$act_member.'
缴付金额: '.$fee.'
付款方法: '.$payment.'
对活动的期望/ 希望解答的问题: '.$expect.'
'; //echo $msg; $subject = "Registration information : ".$name2." from profassess website"; $to = 'info@profassess.com'; //$to = 'casper@smartinfo.com.hk'; //$to = 'sirius731@gmail.com'; $body = $msg; $from= $email2; $mail = new PHPMailer(); $mail->CharSet = "utf-8"; $mail->From = trim($from); $mail->AddReplyTo($from, $name2); $mail->FromName = $name2; $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; ?>