Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Sep 2005
    Posts
    3
    Member #
    11207
    Hey all! I hope this isnít too tough of a question....
    Iím trying to add a mailer in a website through flash. Here the tutorial im working from -
    http://www.actionscripts.org/tutoria...il/index.shtml

    The problem im having is the mailer works but the "Your Email" part doesnít show up on the sent email so I'll never know who filled out the form.

    The second problem is I want to add several lines in the form to collect more information and have those lines be compiled into the email message.

    I am a newbie to PHP3 so any suggestions will help!
    THANKS GUYS!!

  2.  

  3. #2
    Senior Member raspberryh's Avatar
    Join Date
    Aug 2004
    Location
    Erie, PA
    Posts
    882
    Member #
    7208
    Liked
    1 times
    Hey,
    For the first problem, you can probably just edit the php code. Instead of
    PHP Code:
    mail("yourem@ilhere.com"$subject$message"From: PHPMailer\nReply-To: $from\nX-Mailer: PHP/" phpversion()); 
    try
    PHP Code:
    mail("yourem@ilhere.com"$subject$message"From: $from\nReply-To: $from\nX-Mailer: PHP/" phpversion()); 
    For the second problem (keep in mind I haven't done ActionScript in a WHILE), I think you can just create new text fields in your form in flash, and in your properties panel, specify what you want the variable for that form field to be called, and then you can probably edit your lineAdapt function (or you can put this somewhere more logical; I don't have all the code so I'm not sure where you would want this) and you can just add those extra variables to 'message'.
    I think in actionscript it's something like message += phonenumber or something. Or you might have to do message += phonenumber.value if phonenumber is the name of the field. I'm sorry, I don't remember the specifics.

    Anyways, let me know if you get it to work or not.

    Heather
    choosy developers choose gif!
    website | paintings | blog


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 06:32 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com