When u add a email field, do not check the " E-mail a submission copy " checkbox.
Instead in the webform form settings i'e " Webform advanced settings -> Additional Processing: " add the below code.
in $to, we get the email address of the email field, filled by the user.
Code :
<?php
$message = "\r\n".' your message ' ;
$to = $form[submitted][email]['#value']; //here email is the name of ur email field
$subject = 'Download';
$headers = 'From:impossible
'Reply-To: info@impossible.co.in' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
?>
and u r done. This is how we can send the customized email to the submitter.
