Okay,okay,
Things are not so well for my site last couple of days. I tried to make a mail-program for it. Just a simple form that could be posted to my eMail adress. I tried perl, but I don´t know where my mailprog is, or if I have one. And now I need help with php. So please help me. I mean is there any way to solve my problem in java script?

    Heres what you need to do.

    Create a form for the user to enter in their email address, a subject, and a message, then have the form point to this script:

    <?php

    $subject = "$subject";
    $message = "$message";
    $replyAddress = "$email";
    $to = "Edgar@gmx.de";

    mail($to, $subject, $message, "From: $replyAddress");

    ?>

    Hope this helps,
    Lazzerous

      This I have tried many times! but the problem with this command is ... the from address is not displayed on the list in the reciever's mail list! It appears as nobody or blank!
      Pls let me know how do I rectify this problem? Do I have to use mime_mail class ... it is too lengthy one i dont think just for sending a preformatted message all those feature are required!

      thankx

        go to thickbook.com,

        there is a quick tutorial on setting up a email form:

        then the 2nd send page that uses your pop3 server and account.

        we use something like this all the time.

        terry

          7 years later

          Thickbook wasn't a huge help. I have had the exact same problem with this particular code not showing the reply email It does show up as nobody. There's got to be a way to fix it.

          nuwud

            Write a Reply...