I tried one of the php script to send a thankyou email to the sender but the email never reach it or much if even sent at all.
The php script I use came from this forum:
I placed this script in the 'OnSubmit - after sending email' box.
I am sure that I am missing something.
The php script I use came from this forum:
<?php
$recipient = $_POST[$paramsvalues->emailfield];
$html_message = "<p>Hi,</p><p>Thank you for filling out our customer survey.</p><p> If you have any question or other comments, please let us know.</p><p>Nikhil<br />General Manager</p><p>DMC Car Care</p>";
$subject = $subject;
mosMail($from, $fromname, $recipient, $subject, $html_message, true, NULL, NULL, NULL, NULL, NULL );
?>
I placed this script in the 'OnSubmit - after sending email' box.
I am sure that I am missing something.