3 Replies Latest reply on Nov 5, 2006 11:05 PM by bcounts

    Flash Mail

    bcounts Level 1
      I have been looking for someone with a flash email form with attachment in PHP - I have searched the net and found a few but nothing great. I need it to send to a specified email account when submited.

      All I need it to have is 4 fields - Name, Email Adress, A field to add an attachment, message field

      Something with form validation and auto responder would be great but not needed. Can anyone help me out finding one for free or if someone has one that they are willing to show me so I can build on that would be great.

      my email is : bcounts@austin.rr.com
        • 1. Re: Flash Mail
          Level 7
          don't post same thread to multiple forums, it's consider spamming.
          post to one and stick to it
          • 2. Re: Flash Mail
            jonnybennett Level 1
            I just written this for a person two posts before this, so you might aswell take a look. It will send info to an email using flash and php.

            Your swf:

            sendEmail=new LoadVars();
            emailSent=new LoadVars();

            sendEmail.name=name_txt.text;
            sendEmail.email=email_txt.text;
            sendEmail.comments=comments_txt.text;
            sendEmail.phone=phone_txt.text;
            sendEmail.mobile_txt=mobile.text;
            sendEmail.sendAndLoad('mySendEmail.php',emailSent,'POST');

            emailSent.onLoad=function(){
            status_txt.text='thanks mesage sent';}


            You 'mySendEmail.php'


            <?
            $from=$_POST['name'];
            $email=$_POST['email'];
            $comments=$_POST['comments'];
            $phone=$_POST['phone'];
            $mobile=$_POST['mobile'];


            $headers = "you@you.com"."\r\n";
            $headers .= "MIME-Version: 1.0"."\r\n";
            $headers .= "Content-type: text/html; charset=iso-8859-1"."\r\n";
            $headers .= "Reply-To:you@you.com"."\r\n";
            $headers .= "X-Priority: 1"."\r\n";
            $headers .= "X-MSMail-Priority: High"."\r\n";
            $headers .= "X-Mailer: My mailer";

            $message="Name: ".$from.".\r\n Email: ".$email.".\r\nMessage: ".$comments.$phone.$mobile;

            mail('youemail@gmail.com',$subject,$message,$headers);

            ?>
            • 3. Re: Flash Mail
              bcounts Level 1
              This looks great now how do I add a field that will browse for a file and attach it along with this email?