Results 1 to 3 of 3

Thread: fake mail help

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2004
    Posts
    1,202

    fake mail help

    I was woundering if any of you can help me out here. I am having a few minor problems with the attached code. I'm trying to get it so when the whole form has been filled out and the person you are sending it too recieved the email how do i get is to the user who the email was sent it can reply to this email address [email protected].

    Please help me asap.

  2. #2
    Junior Member
    Join Date
    Oct 2005
    Posts
    26

    Re: fake mail help

    Try...
    Code:
    $to = "THE PERSON";
    $from = "[email protected]";
    $subject = "Subject here";
    $from = "[email protected]";
     
    $headers = "MIME-Version: 1.0\r\n".
       "Content-type: text/html; charset=iso-8859-1\r\n".
       "From: \"YOU\" <".$from.">\r\n".
       "To: \"Client\" <".$to.">\r\n".
       "Date: ".date("r")."\r\n".
       "Subject: ".$subject."\r\n";
     
    $message = "YOUR MESSAGE";
    $response = mail($to, $subject, $message, $headers);

    Bear

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2004
    Posts
    1,202

    Re: fake mail help

    The code above dosent seem to work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width