A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Sending two emails using one php file

  1. #1
    Senior Member dduck1934's Avatar
    Join Date
    Sep 2000
    Location
    Georgia, USA
    Posts
    155

    Smile

    Okay guys I have a registration page that is in flash, and what I need to happen is when the user fills out the registration form and submits, it sends the form data to me, but also will send another email to the user with the registration confirmation.

    I am very new to php, but In my php file I was using two mail() functions. one to send the form data to me, and the other mail() to send a thank you email to the user. but I can only get one mail() to work, and not two. When I have two mail() functions right after eachother, it gives me a parsing error.

    can someone help me? It isnt really a flash question, more of a coding in PHP one.

    dduck1934.

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Posts
    309
    dduck - can you post the php script on the board - sounds as though you have another error besides the use of the php function mail()

    cheers
    henry

  3. #3
    Senior Member dduck1934's Avatar
    Join Date
    Sep 2000
    Location
    Georgia, USA
    Posts
    155

    Smile Big Jolt to the rescue

    Big Jolt,

    I found a post on here that you made about your LAB, and I looked at your code on how you did a simple text message, and I got it to work about 20 minutes ago.

    I dont know what it was, but I think I needed to put ""s around my variables?
    mail("$to","$subject","From:...")


    Thanks.
    Matthew(dduck1934)

  4. #4
    Senior Member
    Join Date
    Aug 2000
    Posts
    309
    :) - cool - nuthing like the good ol' search function

    cheers
    henry

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