Jump to content

Php Mail Question


Callum
 Share

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

Edited by Callum
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...