1 Reply Latest reply on Jan 27, 2007 1:54 AM by Sketchsta

    mail Flash/PHP  doesnt work...

    Level 7
      Hi guys, im trying to make another mailer code using flash and php[, for a
      contact us page on a site im working on..
      The code i was using before used to work great, but now it doesnt work anymore
      and i have no idea why.. I am using it on a different server, but the server
      accepts php...

      anyway, i was soo frustrated that it doesnt work, i went ahead and made a new
      one... but this one doesnt work either... I need some help from you guys...

      I will kick my self sooo hard if it's something simple that im forgetting...

      heres the PHP code:

      <?php

      $name=$_POST['name'];
      $email=$_POST['email'];
      $number=$_POST['number'];
      $subject = 'Comments From WebSite';
      $message=$_POST['message'];

      $name=trim($name);
      $email=trim($email);
      $number=trim($number);
      $subject=StripSlashes($subject);
      $message=StripSlashes($message);


      $toaddress='seul_kof@yahoo.com';



      mail($toaddress,$subject,$message,"From: $name <$email>");


      $name='';
      $email='';
      $number='';
      $subject='';
      $message='';
      echo "passed";

      ?>