Hi. I added the code and but I keep getting an error saying the form could not submit. I can’t leave the new code live on my site, because clients won’t be able to use it.
However, here’s the code I added:
// Thank You mail
$mail->AddAddress($_POST[’email’]);
$mail->SetFrom($email, ‘www.videomvp.com’);
$mail->IsHTML(true);
$mail->CharSet = ‘UTF-8’;
$mail->Subject = ‘Thank You’;
$mail->Body = ‘Thank you for contacting Video MVP. We will reply as soon as possible.’;
$mail->Send();
Also, how do I change $mail->Subject = ‘Thank You’; to have it be the subject of the email they sent to me. Is it $mail->Subject($_POST[‘subject’]);
Thanks.