I am shooting off an email using HTTP submit from a cd to a PHP script on my server. Script as follows:
<?php
$to="[email protected]";
if (isset($_REQUEST['message']))
{
//$message = wordwrap($_REQUEST['message'], 70, "<br>\n", TRUE);
$message =$_REQUEST['message'];
if (isset($_REQUEST['subject']))
{
$subject = $_REQUEST['subject'];
mail ("$to","$subject","$message","From: Web Rate");
echo "success";
}
else
echo "no subject";
}
else
{
echo "no message";
}
exit;
?>
I am not getting any emails back. Using the error window everything was a success, I even sent to other emails from another server. Any ideas?
I'm using 7.1.1007
<?php
$to="[email protected]";
if (isset($_REQUEST['message']))
{
//$message = wordwrap($_REQUEST['message'], 70, "<br>\n", TRUE);
$message =$_REQUEST['message'];
if (isset($_REQUEST['subject']))
{
$subject = $_REQUEST['subject'];
mail ("$to","$subject","$message","From: Web Rate");
echo "success";
}
else
echo "no subject";
}
else
{
echo "no message";
}
exit;
?>
I am not getting any emails back. Using the error window everything was a success, I even sent to other emails from another server. Any ideas?
I'm using 7.1.1007
Comment