Use the header field in the mail function:

  $header  ="From: <[EMAIL PROTECTED]>\n>";
  $header .="X-Sender: <[EMAIL PROTECTED]>\n";
  $header .="X-Mailer: PHP\n";
  $header .="Reply-To: <[EMAIL PROTECTED]>\n";
  $header .="Return-Path: <[EMAIL PROTECTED]>\n";
  ...
  mail($recipient, $subject, $message, $header);

hope this helps,

Tony G. Bolaņo      

Reply via email to