A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Email Form ASP CDONTS Problem

  1. #1
    Junior Member
    Join Date
    Feb 2003
    Posts
    9

    Email Form ASP CDONTS Problem

    okay i am trying to use the attatched movie to email a form using cdonts.

    i have done it successfully before here

    http://scottmillerstyle.com/index.htm#feedback

    the asp file i am using is here

    http://scottmillerstyle.com/test_mail.asp

    the asp file wont pick up my varialbes from the url for some reason.

    If you can help or have things i could try please let me know. i appreciate it very much. thanks much. Louis/
    Attached Files Attached Files
    Louis
    Neverstatic

  2. #2
    Senior Front End Developper
    Join Date
    Dec 2000
    Location
    Montréal
    Posts
    568
    sometime the POST method don't work.

    make sure that the variable are send (make the asp write their value in a file)

    make sure to use sendAndLoad, instead of send

  3. #3
    Senior Member
    Join Date
    Sep 2002
    Location
    Texas
    Posts
    348
    did that work for you?
    ive had the same problem where asp wont pick up variables.
    Great minds think for themselves.

  4. #4
    Junior Member
    Join Date
    Feb 2003
    Posts
    9

    Okay, I hope i am smart enough to do this

    Thank you CharlesFK!!!

    I am not sure how exactly to follow your advice.

    first i need to initiate a loadvars object correct?
    and then when i send and load, how do i define the target method?
    i am sending to an asp page so i am not sure what the target should be. if you can guide me at all that would be awesome. if you think i am too dumb to get it, i understand Thanks for your help!!!!

    Louis.
    Louis
    Neverstatic

  5. #5
    Senior Front End Developper
    Join Date
    Dec 2000
    Location
    Montréal
    Posts
    568
    ok..

    here a little example:

    Code:
    var email_lv = new LoadVars();
    email_lv.to = "test@test.com";
    email_lv.from = "charlesfk@iname.com";
    email_lv.subject = "Testing CDONTS email";
    //initialize the rest of your varaible
    
    email_lv.onLoad = function (bSuccess)
    {
         //Put the code to execute after the asp is executed
    }
    
    email_lv.sendAndLoad("yourpage.asp", email_lv, "POST");

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center