Submit Your Article Forum Rules

Results 1 to 2 of 2

Thread: mail form in flash (MailForm.pl)

  1. #1
    Junior Member
    Join Date
    Mar 2004
    Posts
    1

    mail form in flash (MailForm.pl)

    i've created mailing form in flash. i'm not using 'flash components', but i've created input text fields in wich page visitor should write his personal data that should be mailed to me, after pressing send button.

    site is located on server that supports perl scripting, and in my provider's FAQ i've found the following HTML code for creating a mailing form:

    ----------------------------------------------------------------------------------------------------
    <form action="http://www.inet.hr/cgi-bin/FormMail.pl" method="post">
    <input type=hidden name="recipient" value="email@domena.hr">

    Naslov poruke
    <input type=text name="subject">

    Vaš e-mail
    <input type=text name="email">

    Vaše ime
    <input type=text name="realname">


    Tekst poruke
    <textarea name="Poruka" cols=60 rows=8></textarea>


    <input type="submit" value="Posalji!">
    <input type="reset" value="Obrisi!">
    </form>
    ----------------------------------------------------------------------------------------------------

    i've tried posting this code in html document, and it works, but i can't get my mailing form in flash working. i tried with this actionscript code:

    ----------------------------------------------------------------------------------------------------
    recipient="mymail@inet.hr"
    subject="test"
    Poruka="jdslkjglkjdsagljk"
    loadVariablesNum("http://www.inet.hr/cgi-bin/FormMail.pl",0,"POST");
    ----------------------------------------------------------------------------------------------------

    but it doesn't send anything. can somebody tell me where am i mistakeing? pay attention to variable name 'Poruka' instead of standard 'body' in HTML sample code, i think that script FormMail.pl is partialy translated to my language (croatian). anyway, HTML code works, and i need to adjust it to actionscript use.

    tnx.

  2. #2
    Senior Member
    Join Date
    Aug 2003
    Posts
    765
    The way I understand it, you cannot send email forms directly from Flash, you need an intervening script like asp or php to process the information. Here is a tutorial I found that might help you.

    http://www.kirupa.com/developer/acti..._php_email.htm

    The only other form tutorials I find use components, which you say you are not using.

    Best of luck. I hope this helps.
    Scott Brinkerhoff - Art of Zen Studios
    Web Design I Design Monk
    © 2000-forever - All rights reserved by me - SO THERE!!

Similar Threads

  1. Form problems using Visual Form Mail
    By whatever in forum Graphics & Design Discussion Forum
    Replies: 7
    Last Post: 01-04-2006, 03:14 PM
  2. Form Mail Help
    By scottvnd in forum Web Programming Discussion Forum
    Replies: 2
    Last Post: 10-18-2004, 02:22 PM
  3. Form Mail
    By tltate in forum Graphics & Design Discussion Forum
    Replies: 1
    Last Post: 04-27-2004, 12:46 AM
  4. Form 2 Mail
    By Gentile2x in forum Accessibility and Usability Forum
    Replies: 5
    Last Post: 03-30-2004, 01:05 PM
  5. ASP.NET C# e-mail form code
    By ed.quinn in forum Web Programming Discussion Forum
    Replies: 1
    Last Post: 11-09-2003, 09:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •