Hi When using php mail if I put my e-mail address in the from will it work when they click reply or will it show as something else as its come from a mail server. Thanks
you can set "reply-to" email in headers of you mail . check mail(); in documention of php.net <?php $to = 'nobody@example.com'; $subject = 'the subject'; $message = 'hello'; $headers = 'From: webmaster@example.com' . "\r\n" . 'Reply-To: webmaster@example.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers); ?> PHP:
Thanks for the reply. It seems to be working anyway as I have had a reply from someone who received an auto e-mail this morning