Jump to content

Php Mail Question

Recommended Posts

can anyone tell me the fault with this script. I am confused. I am just recieving blank emails.

 <form action="sent.php" method="post">                     <table>                   <tr><td> Name: </td><td><input type="text" name="appname" size="30"></td></tr>                   <tr><td> Xfire:</td><td> <input type="text" name="appxfire" size="30"></td></tr>                    <tr><td>Email: </td><td><input type="text" name="appemail" size="30"></td></tr>                    <tr><td>Refferal: </td><td><input type="text" name="apprefferal" size="30"></td><tr>                    <tr><td></td><td><textarea name="why" cols="30" rows="5"> Why should we let you join? </textarea></td></tr>                   <tr><td></td><td> <input type ="submit" value="Send"></td></tr> </table>                    </form>

<?php$appname = $_POST['appname'];$appxfire = $_POST['appxfire'];$appemail = $_POST['appemail'];$apprefferal = $_POST['apprefferal'];$appwhy = $_POST['appwhy'];$to ="callumhubbarde@live.co.uk";$re = "Edge Gaming Application";$msg = "{$appname}\n{$appxfire}\n{$appemail}\n{$apprefferal}\n{$appwhy}";mail ($to, $re, $msg); ?>

Link to post
Share on other sites

EDIT 2: Problem solved

Edited by Callum
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...