+ Reply to Thread
Results 1 to 6 of 6

Thread: mail form

  1. #1
    jafbox's Avatar
    jafbox is offline x10Hosting Member jafbox is an unknown quantity at this point
    Join Date
    Oct 2008
    Posts
    12

    mail form

    i am looking for a mail form that will work can some one please help me

  2. #2
    compwhizii is offline Banned compwhizii is an unknown quantity at this point
    Join Date
    May 2008
    Location
    The Moon
    Posts
    779

    Re: mail form

    What kind of form are you looking for, and for what purposes?

  3. #3
    jafbox's Avatar
    jafbox is offline x10Hosting Member jafbox is an unknown quantity at this point
    Join Date
    Oct 2008
    Posts
    12

    Re: mail form

    i am looking for a mail form so that people may email me from my site

  4. #4
    botbg is offline x10Hosting Member botbg is an unknown quantity at this point
    Join Date
    Mar 2008
    Location
    Canada
    Posts
    57

    Re: mail form

    Last edited by botbg; 12-19-2008 at 07:18 PM. Reason: Fixing the link

  5. #5
    cenobite321 is offline x10Hosting Member cenobite321 is an unknown quantity at this point
    Join Date
    Dec 2007
    Posts
    78

    Re: mail form

    Well, you can use some php for that, here's an example:

    <html>
    <head>
    <title> E-mail </title>
    </head>
    <body>
    <form method="post" name="Contact" action="">
    <table border="0" width="400" cellspacing="0">
    <tr>
    <td width="100%" colspan="2">
    <font face="Verdana" size="1">
    Send me an e-mail: <br><br>
    </font>
    </td>
    <tr>
    <td width="18%">
    <font face="Verdana" size="1">
    Name:
    </font>
    </td>
    <td>
    <input type="text" name="name" value="" size="51">
    </td>
    </tr>
    <tr>
    <td width="18%">
    <font face="Verdana" size="1">
    E-mail
    </font>
    </td>
    <td>
    <input type="text" name="email" value="" size="51">
    </td>
    </tr>
    <tr>
    <td width="18%">
    <font face="Verdana" size="1">
    Message
    </font>
    </td>
    <td>
    <textarea name="message" rows="7" cols="38">
    </textarea>
    </td>
    </tr>
    <tr>
    <td>
    </td>
    <br>
    <input onmouseover=this.style.cursor="hand" type="submit" name="sub" value="Send" style="border:0; height:18; width:50; background: #E8F3FD">
    </td>
    </tr>
    </table>
    </form>

    <?php

    $action = strip_tags($_POST[sub]);
    $Subject= strip_tags($_POST[name]);
    $e_mail = strip_tags($_POST[email]);
    $Message = strip_tags($_POST[message]);
    $TargetEmail = 'thedestinationemailaddress@something.com';

    if($accion = 'Enviar'){
    $success = mail($TargetEmail,$Subject,$Message,"From: <$e_mail>");
    }
    ?>
    </body>
    </html>

  6. #6
    deadleaf is offline x10Hosting Member deadleaf is an unknown quantity at this point
    Join Date
    Dec 2008
    Location
    France
    Posts
    6

    Re: mail form

    One for the moderators to take down?

+ Reply to Thread

Similar Threads

  1. Gmail Vs. Others
    By porky101 in forum Crossfire
    Replies: 44
    Last Post: 11-05-2011, 08:14 AM
  2. Replies: 9
    Last Post: 08-11-2011, 05:58 AM
  3. Sending Form to Mail
    By Ryuji666 in forum Programming Help
    Replies: 5
    Last Post: 08-15-2008, 02:21 AM
  4. A simple Visual Basic Login Form
    By Zenax in forum Tutorials
    Replies: 0
    Last Post: 03-13-2007, 08:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers