Ver Mensaje Individual
  #2 (permalink)  
Antiguo 03/11/2009, 21:32
Avatar de urgido
urgido
 
Fecha de Ingreso: febrero-2005
Mensajes: 2.351
Antigüedad: 19 años, 2 meses
Puntos: 25
Respuesta: No me envia los datos por email, me lanza mensaje de error!!!

Código PHP:
Ver original
  1. <? //initilize PHP
  2.  
  3. if($_POST['submit']) //If submit is hit
  4.  
  5. {
  6.  
  7.     $email_content="Applicant Information:\nName: " . $app_name . "\nStreet Addess: " . $app_address . "\nCity, State, ZIP: " . $app_citystatezip . "\nDay Phone Number: " . $app_dayphone . "\nNight Phone Number: " . $app_nightphone . "\nFax Number: " . $app_faxnumber . "\nEmail Addess: " . $app_email . "\nReferred by: " . $app_let . "\n\nCar Information:\nMake: " . $app_make . "\nModel: " . $app_model . "\nYear: " . $app_year . "\nColor: " . $app_color . "\nStock or Modified: " . $app_stockmod . "\nCar Number Desired: " . $app_number1 . "\nAlternate: " . $app_number2 . "\n\nDriving Group: " . $app_group . "\nTiming: " . $app_timer . "\nInstructor: " . $app_instructor . "\nDay: " . $app_day . "\nTotal: " . $app_total . "\n\nPayment: " . $app_payment . "\n\nCC Information:\nCredit Card Type: " . $app_cctype . "\nCredit Card Number: " . $app_ccnumber . "\nExpiration Date: " . $app_ccexp . "\nCCV: " . $app_ccccv;
  8.  
  9.     $email_content2="Applicant Information:\nName: " . $app_name . "\nStreet Addess: " . $app_address . "\nCity, State, ZIP: " . $app_citystatezip . "\nDay Phone Number: " . $app_dayphone . "\nNight Phone Number: " . $app_nightphone . "\nFax Number: " . $app_faxnumber . "\nEmail Addess: " . $app_email . "\nReferred by: " . $app_let . "\n\nCar Information:\nMake: " . $app_make . "\nModel: " . $app_model . "\nYear: " . $app_year . "\nColor: " . $app_color . "\nStock or Modified: " . $app_stockmod . "\nCar Number Desired: " . $app_number1 . "\nAlternate: " . $app_number2 . "\n\nDriving Group: " . $app_group . "\nTiming: " . $app_timer . "\nInstructor: " . $app_instructor . "\nDay: " . $app_day . "\nTotal: " . $app_total;
  10.  
  11.     mail("[email protected]", "On The Edge Track Day Registration Submission", "$email_content");
  12.     mail("$app_email", "On The Edge Track Day Registration Submission Confirmation", "$email_content2");
  13.  
  14.    
  15.     echo "Thank you for your submission.  You will be contacted shortly by Carlos via e-mail or phone to confirm your registration.";
  16. } else {
  17.  
  18.     echo "There has been an error, please go back to the form, and resubmit it.";
  19.  
  20. }
  21.  
  22. ?>

pruebalo asi, otra cosa a la función mail agregale los headers de preferencia.
__________________
Hospedaje Web al mejor costo!