Welcome, Guest
  • Author Topic: Using SendMailPHP with Flash version 6  (Read 888 times)

    AJ

    • Server what's that
    • *
    • Posts: 2
      • View Profile
      • Email
    Using SendMailPHP with Flash version 6
    « on: 03/30/04, 11:18 »
    I'm trying to use the SendMailPHP file to send an E-Mail to me of a completed SWF form.  I've created the form with four textfields and one TextMsg field.  The SendMailPHP file was created with two textfields.  I added two entries in the snowMailPHP file to compensate the additional fields.  I copied the files ( Form.swf and snowMailphp.php )up to my web server (Linux) and tried to test the swf file.  The file came up fine; I entered data into all the fields and clicked the submit button.  I'm still waiting on the E-mail.  

    Help!!

    If you need the swf file please let me know.


    <?php
    $ToEmail = "Support@LandLNetworking.com";

    ##$ToName = "Support";
    $ToSubject = "Support for L&L Networking";

    $EmailBody = "Sent By: $Name\nSenders Email: $Email\nSenders Company: $Company\n\nMessage Sent:\n$Message\n\nSender $Message\n";

    $EmailFooter="\nThis message was sent by: $Name from $REMOTE_ADDR If you feel that you recieved this e-mail by accident please contact us at www.landlnetworking.com";

    $Message = $EmailBody.$EmailFooter;

    mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".$Name." <".$Email.">");


    Print "_root.Mail.EmailStatus=Complete - Your Email has been sent";

    ?>

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re:Using SendMailPHP with Flash version 6
    « Reply #1 on: 03/31/04, 03:02 »
    Try with this file:

    <?php
    mail("Support@LandLNetworking.com", "Works mail in my server?", "If this message comes, then I can use mail");
    echo "Mail sended !!"
    ?>

    Wait the email: if doesn't come, try with some other valid email. If still doesn't come, don't lost your time, your server admin decide that you can't send mails.

    Jorge
    « Last Edit: 03/31/04, 03:04 by Jorge Solis »