Hi PHP Gurus,
I have two other things I'd like to do, one is I want the user be able to browse their files upload and send me a file via the same contact form. I have the HTML in the doc, but I need the script to make it work. I also would like to redirect them to a thank you page when they hit submit, instead of sending them a text message.
Thank you in advance!
Here's the code I have so far....
if(!$mail->Send())
{
echo "<b>Your query was not sent. Please try again later.<b>";
echo "Mailer Error: " . $mail->ErrorInfo;
exit;
}
else
echo "<b>Thank you for your interest in xxxxxx! Someone from our sales team will contact you within 2 business days.</b>";
?>