我有这个 php 代码可以将用户信息从联系表发送到我的电子邮件地址,但我不知道如何在用户填写表单时将确认电子邮件发送回给用户。
<?
$name = $_REQUEST['name'] ;
$company = $_REQUEST['company'] ;
$areacode_telephone = $_REQUEST['areacode_telephone'] ;
$telephone = $_REQUEST['telephone'] ;
$email = $_REQUEST['email'] ;
$notes = $_REQUEST['notes'] ;
$body = " Name: ".$name."\n
Company: ".$company."\n
Area Code: ".$areacode_telephone."\n
Telephone: ".$telephone."\n
Email Address: ".$email."\n
Notes: ".$notes;
mail( "info@axsiom.com.au", "Axsiom: Contact Us", $body, "From: $email" );
?>