Posted: Sat Jul 16, 2005 10:38 am
Code: Select all
if(!mail( "$send_to", "ASAsZXzsczxcZXC","$vars", "From: <noreply@2hats.test>")) { echo "Your message could not be sent. Please call our office at the number below\n"; } else { echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n"; }Try
Code: Select all
if(mail($send_to,$subject,$email_body,$additional_headers))
{
echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n";
} else
{
echo "Your message could not be sent. Please call our office at the number below\n";
}Where's your $vars coming from?
Try
Code: Select all
if(mail($send_to,$subject,$email_body,$additional_headers))
{
echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n";
} else
{
echo "Your message could not be sent. Please call our office at the number belo","$vars", "From: <noreply@2hats.test>")) { echo "Your message could not be sent. Please call our office at the number below\n"; } else { echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n"; }Try
Code: Select all
if(mail($send_to,$subject,$email_body,$additional_headers))
{
echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n";
} elsrom: <noreply@2hats.test>")) { echo "Your message could not be sent. Please call our office at the number below\n"; } else { echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n"; }Try
Code: Select all
if(mail($send_to,$subject,$email_body,$additional_headers))
{
echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n";
} else
{
echo "Your message coquote;, "From: <noreply@2hats.test>")) { echo "Your message could not be sent. Please call our office at the number below\n"; } else { echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n"; }Try
Code: Select all
if(mail($send_to,$subject,$email_body,$additional_headers))
{
echo "Your message was sent. Thank you for contacting us, we will be in touch short
if(!mail( "$send_to", "ASAsZXzsczxcZXC","$vars", "From: <noreply@2hats.test>")) { echo "Your message could not be sent. Please call our office at the number below\n"; } else { echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n"; }Try
Code: Select all
if(mail($send_to,$subject,$email_body,$additional_headers))
{
echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n";
} else
{
echo "Your message could not be sent. Please call our office at the number below\n";
}if(!mail( "$send_to", "ASAsZXzsczxcZXC","$vars", "From: <noreply@2hats.test>")) { echo "Your message could not be sent. Please call our office at the number below\n"; } else { echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n"; }
Where's your $vars coming from?
Try
Code: Select all
if(mail($send_to,$subject,$email_body,$additional_headers))
{
echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n";
} else
{
echo "Your message could not be sent. Please call our office at the number below\n";
}} else
{
echo "Your message could not be sent. Please call our office at the number below\n";
}
Also, do not put your variables inside of "" marks in your mail statement. use mail($var, $var, $var, $var) instead of mail("$var","$var","$var", $var") not put your variables inside of "" marks in your mail statement. use mail($var, $var, $var, $var) instead of mail("$var","$var","$var", $var")C","$vars", "From: <noreply@2hats.test>")) { echo "Your message could not be sent. Please call our office at the number below\n"; } else { echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n"; }
Where's your $vars coming from?
Try
Code: Select all
if(mail($send_to,$subject,$email_body,$additional_headers))
{
echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n";
} else
{
echo "Your message could not be sent. Please call our office at the num;$vars", "From: <noreply@2hats.test>")) { echo "Your message could not be sent. Please call our office at the number below\n"; } else { echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n"; }Try
Code: Select all
if(mail($send_to,$subject,$email_body,$additional_heote;, "ASAsZXzsczxcZXC","$vars", "From: <noreply@2hats.test>")) { echo "Your message could not be sent. Please call our office at the number below\n"; } else { echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n"; }Try
Code: Select all
if(mail($send_to,$subject,$email_body,$additional_headers))
{
echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n";
} else
{
echo "Your message could not be sent. Please call our office at the number below\n";
}Where's your $vars coming from?
Try
Code: Select all
if(mail($send_to,$subject,$email_body,$additional_headers))
{
echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n";
} else
{
echo "Your message could not be sent. Please call our office at the number below\n";
}Where's your $vars coming from?
Try
Code: Select all
if(mail($send_to,$subject,$email_body,$additional_headers))
{
echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n";
} else
{
echo "Your message could not be sent. Please call our office at the number below\n";
}Where's your $vars coming from?
Try
Code: Select all
if(mail($send_to,$subject,$email_body,$additional_headers))
{
echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n";
} else
{
echo "Your message could not be sent. Please call our office at the number below\n";
}Where's your $vars coming from?
Try
Code: Select all
if(mail($send_to,$subject,$email_body,$additional_headers))
{
echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n";
} else
{
echo "Your message could not be sent. Please call our office at the number below\n";
}Where's your $vars coming from?
Try
Code: Select all
if(mail($send_to,$subject,$email_body,$additional_headers))
{
echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n";
} else
{
echo "Your message could not be sent. Please call our office at the number below\n";
}}
Also, do not put your variables inside of "" marks in your mail statement. use mail($var, $var, $var, $var) instead of mail("$var","$var","$var", $var");Your message could not be sent. Please call our office at the number below\n"; } else { echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n"; }
Where's your $vars coming from?
Try
Code: Select all
if(mail($send_to,$subject,$email_body,$additional_headers))
{
echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n";
} else
{
echo "Your message could not be sent. Please call our office at the number beloww\n"; } else { echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n"; }Try
Code: Select all
if(mail($send_to,$subject,$email_body,$additional_headers))
{
echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n";
} else
{
echo "Your message could not be sent. Please call our office at the number below\n";
}} else
{
echo "Your message could not be sent. Please call our office at the number below\n";
}
Also, do not put your variables inside of "" marks in your mail statement. use mail($var, $var, $var, $var) instead of mail("$var","$var","$var", $var")
if(!mail( "$send_to", "ASAsZXzsczxcZXC","$vars", "From: <noreply@2hats.test>")) { echo "Your message could not be sent. Please call our office at the number below\n"; } else { echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n"; }
Where's your $vars coming from?
Try
Code: Select all
if(mail($send_to,$subject,$email_body,$additional_headers))
{
echo "Your message was sent. Thank you for contacting us, we will be in touch shortly.\n";
} else
{
echo "Your message could not be sent. Please call our office at the number below\n";
}