这是PHP,我认为它是正确的,但它不会将表单发送到它上面的电子邮件
$emailSubject = 'Rayykz has recruited a channel!';
$email_to = 'support@breeze-studios.com';
/* Gathering Data Variables */
$name = $_POST['name'];
$email = $_POST['email'];
$username = $_POST['username'];
$body = <<<EOD
<br><hr><br>
Name: $name <br>
Email: $email <br>
Username:$username
EOD;
$headers = "From: $email\r\n";
$headers .="Content-type: text/html\r\n";
$success = mail($email_to, $emailSubject, $body, $headers);
这是与之相关的表格
<form action="rayykz.php" method="post" role="form">
<div class="form-group">
<label>Name</label>
<input name="name" class="form-control" id="name">
</div>
<div class="form-group">
<label>Email</label>
<input name="email" class="form-control" id="email" placeholder="Enter text">
</div>
<div class="form-group">
<label>Username</label>
<input name="username" type="text" class="form-control" value="" id="username">
<p class="help-block">Example "BreezeYTube".</p>
</div>
<div class="form-group">
</div>
<button type="submit" class="btn btn-default">Submit Channel</button>
<button type="reset" class="btn btn-default">Reset Form</button>
</form>
表单不会发送到电子邮件地址,任何人都可以看到错误吗?