Jump to content

Php Mail Question


Callum

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 comment
Share on other sites

EDIT 2: Problem solved

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...