SOLVED
The freaking error was having "inc" in the from address. CHANGED $from = "messageform@courtesycareinc.com";
to $from = "messageform@courtesycare.com";
and it worked.
Ben bu çalışma alınamıyor. Ben başka bir sitede, benzer bir yöntem kullanılır, ancak bir veritabanı ile ve çalışır. Ben bir veritabanı olmadan bu şekilde kullandığınızda, nedense bu iş olmaz. Ben dışarı göndermek bir mesaj alınamıyor.
<?php
if (isset($_POST['send'])) {
$name = $_REQUEST['name'];
$email = $_REQUEST['email'];
$phone = $_REQUEST['phone'];
$subject = $_REQUEST['subject'];
$message = $_REQUEST['message'];
$semail = "yanikem@gmail.com";
$name = htmlspecialchars($name, ENT_QUOTES);
$email = htmlspecialchars($email, ENT_QUOTES);
$phone = htmlspecialchars($phone, ENT_QUOTES);
$subject = htmlspecialchars($subject, ENT_QUOTES);
$message = htmlspecialchars($message, ENT_QUOTES);
$from = "messageform@courtesycareinc.com";
$headers = "From: $from";
$message .= "Courtesy Care, Inc. Contact\n\n";
$message .= "The following information was collected from Courtesy Care, Inc.'s Contact Form.\n\n";
$message .= "<table><tr><td>Name: </td><td>".$name."</td></tr><tr><td>Email: </td><td>".$email."</td></tr><tr><td>Phone: </td><td>".$phone."</td></tr><tr><td>Subject: </td><td>".$subject."</td></tr><tr><td>Message: </td><td>".$message."</td></tr></table>";
mail($semail, "Courtesy Care, Inc.", $message, $headers);
header ('Location: contactusdone.php?say=msent');
}
?>
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
<table style="text-align:left; width: 500px; left:45px; position:relative; padding:2px; border:1px solid #1A1A1A">
<tr>
<td colspan="2" style="vertical-align:top; text-align:center; border:1px solid #1A1A1A; background-color:#A52A2A; color:#FFFFFF;">MESSAGE FORM</td>
</tr>
<tr>
<td colspan="2"><center>The form below can be used to send a detailed message to <strong>courtesycare@comcast.net</strong>.<br /><br /></center></td>
</tr>
<tr>
<td width="80" align="right" valign="top">Name: </td>
<td width="302" align="left" valign="top"><input name="name" type="text" style="width:98%" /></td>
</tr>
<tr>
<td align="right" valign="top">Email: </td>
<td align="left" valign="top"><input name="email" type="text" style="width:98%" /></td>
</tr>
<tr>
<td align="right" valign="top">Phone: </td>
<td align="left" valign="top"><input name="phone" type="text" style="width:98%" /></td>
</tr>
<tr>
<td align="right" valign="top">Subject: </td>
<td align="left" valign="top"><input name="subject" type="text" style="width:98%" /></td>
</tr>
<tr>
<td align="right" valign="top">Message: </td>
<td align="left" valign="top"><textarea name="message" style="width:98%; height:150px;"></textarea></td>
</tr>
<tr>
<td colspan="2" align="right"><input type="reset" value="Clear Fields"> <input type="submit" name="send" value="Send" /></td>
</tr>
</table>
</form>