AS2 - Mail Form - Variables Issue
Last edited by gabrielsj : 2008-12-08 at 09:44.
Well, This is a file where I'm trying to upload a document within my mail form.
I've checked my actionscript and my php file, and all seems together here.
The document is being uploaded successfully to the server but not redirected to my recipient.
So I'm sending my project, if anyone discovers where I'm missin something.
*you must have a server to test the file. *create a folder "named "files" within the project files to recieve the uploaded document and change the permission of the created folder, to 777.
Thanks.
somebody?? please...
Ultrashock Forums > Flash > ActionScript
Posted on: 2008-04-29
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Mail Form Scripting Issue
Hi folks,
I've got this problem when I went through lee's php mail form tut. I've searched and looked over 6 pages of topics on this tutorial and I haven't been able to find any answers to this problem.
I have a php mail form in a movie that's being loaded into another movie's container.
Everything works fine except the gotoAndStop part when the user hits submit. Ideally, I want it to go to frame 10 which is the successful message. However, as it stands with this code now the movie will jump to frame 20 instead (the error frame). But, the mail works fine. I'm assuming the problem lies in the fact that the movie this form is on is within another movie.
Here's the PHP I've got...
Code:
<?php
$to = "mpr@haplersounds.net";
$subject = "Message from your site";
$message = "<b>Name: </b>" . $sender . "<br>";
$message .= "<b>Email: </b>" . $email . "<br>";
$message .= "<b>Company: </b>" . $company . "<br><br>";
$message .= "<b>Message: </b>" . $message1;
$headers = "From: $email";
$headers .= "
Reply-To: $email" . "<br>";
$headers .= 'MIME-Version: 1.0' . "
";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "
";
$sentOk = mail($to,$subject,$message,$headers);
echo "sentOk=" . $sentOk;
?>
...and this is the actionscript:
Code:
stop();
//####START FORM AREA####//
var senderLoad:LoadVars = new LoadVars();
var receiveLoad:LoadVars = new LoadVars();
submit.onRelease = function(){
senderLoad.sender = sender.text;
senderLoad.email = email.text;
senderLoad.company = company.text;
senderLoad.message1 = message1.text;
senderLoad.sendAndLoad("http://mprportfolio.com/flash/portfoliocontact.php",receiveLoad);
}
receiveLoad.onLoad = function(){
if(this.sentOk){
gotoAndStop(10);
}
else {
gotoAndStop(20);
}
}
Like I said, I get the mail just fine. But I think I need to make reference to the movie this form is in so it can separate the two movies but I'm not sure how to do that. I thought it was the "_root" bit but if I get rid of that it will not jump anywhere after hitting the submit button. Then I thought it might have something to do with the $sentOk variable in the php but that can't be it because otherwise I wouldn't get a jump to the error message frame. Now I'm not sure at all...Any suggestions?
Button Issue And Form Mail Problem
Hey guys, runnin into some problems and would appreciate any help.
here's my site: www.phunctional.com
Problems:
1. On the Resources page, I can't get the buttons to work.. here's my code for the buttons which are inside of a movie clip:
Code:
on (rollOver) {
gotoAndPlay(2);
}
on (releaseOutside, rollOut) {
gotoAndPlay(11);
}
on (release) {
//customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = "http://www.phunctional.com/resource-templates.html";
target_winName = "Templates";
width = 620;
height = 400;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 1;
resizable = 0;
//sends data back to the function
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}
2. On the Contacts page, it loads all the text boxes with garble. Er, why? Also, when I click on "Reset" it only gets rid of the text in the name and e-mail boxes, but not message box. I've double checked instance and variable names, they all seem to be matching. And finally, when I hit submit, it's not making "Thank you" visible on that page. Instance names match fine. Here's the code for the submit button:
Code:
on (release) {
thankyou._alpha = 100;
form.loadVariables("form.php", "POST");
}
Thanks in advance guys!
Ok, This Mail Form Issue Is Driving Me Bonkers
Hello all,
I hope someone can ease my pain cause I don't have much hair left to pull out lol.
I am "simply" trying to create a send-to-friend form in flash, run it through a small PHP script and that's that. It's based out of an ecard I just created which can be found here: http://www.metalagesrecords.com/band-theocracy.php (ecard link in middle)
Each field is assigned a variable name. (yourname, youremail, friendname, friendemail, message) Here's the code assigned to the SEND button:
on (release) {
if (yourname eq "" or youremail eq "" or friendname eq "" or friendemail eq "" or message eq "") {
stop();
} else {
loadVariablesNum("formtest.php", 0, "POST");
gotoAndStop(51);
}
}
Here's formtest.php:
<?
$to = "myname@mydomain.com";
$msg = "$friendname
";
$msg .= "$message
";
$subject = "Form Mail Test";
mail($to, $subject, $msg, "From: My web site
Reply-To: $youremail
");
?>
I know PHP works on the server as I am using some in my MetalAges Records site. Can anyone help me troubleshoot this thing? I have tried 2 different starting point scripts I found online and neither work, and I can't get the original scripts/SWF I hacked away at to work either. IS there something I am missing that my server may not have?
Any help appreciated!
Variables In A Form E-mail
Dear people at Flashkit,
I think this is a very cool site, it's always been a great help for me. And I think the Forum will be just as great.
I need a little help with a form. Here's the situation:
I have a website, on one of the pages, its is possible to buy a product, when you click on the "Buy" button, you go to a Form,
were you can fill in your name,adress,email,articlenumber etc.
The e-mail then is being send to the owner of the site, and the customer gets a confirm mail, that he's order will be processed.
The thing I want to get to work is this:
All product have an articlenumber, What I want is that when the costumer clicks the "Buy" button and goes to the form, that the articlenumber is already filled in the input textfield for "Articlenumber"
I hope someone can help me, and Im very glad to be part of this forum, and hope to help you guys out to sometimes
Greeting,
Raphael
Help W/ Sending Variables To Mail Form API
Hey everyone,
I'm looking for the most practical method for working with a clients mail form API. I need to create a mail form and send the information though the clients API. Basically you just send GET/POST vars to a URL and it takes care of the rest.
ex: http://www.example.com/email.do?to=t...ge=testing+123...
So that sends the email I need... Right now I'm building a string based on the form data and just sending it though getURL—however a big flaw in this is I get sent to a blank page, and have no verification anything was sent.
Is there a better way to send this information?
Thanks,
Mike
Input Variables From Form Mail Straight Into An FLA?
(FlashMX) I have a situation that I'm wondering if it's possible to automate. If variables are sent to me from a server in a Form Mail script (cgi, or perl), how can I automatically input those variables into a FLA at authoring time - not an swf at runtime? I don't want to use a text file to load from, because the end result will be a CD rom that I only wish to include the EXE projector file. Retyping or copy/paste would be fine for a couple of variables, but to pass 50+ variables for each project I'm searching for an automated solution. Any suggestions?
Variables For Flash -> Php For Checkbox Mail Form
Hey -
I downloaded a source file for a form with checkboxes - sending some variables from flash -> PHP -> mail
Seems it is for an old version of Flash (5)
The variables are referred to on a frame simply as /:myvariable = "";
Flash 8 doesn't like this. Hates it. says it's a syntax.
I never used Flash 5 much as I am relatively new.
What is the flash 8/ as2 equivalent?
I spent a day looking for an answer & have done my head in.
Help me please?
Adding Variables To Mail Form - Help Needed
Hi everybody....
This is my problem....I would like to add few variables to Mailform from tutorial on Actionscript.org....
So...this is script in Flash
----------------------------------------------------------
Script on frame is this
----------------------------------------------------------
stop();
function lineAdapt() {
message_send = message;
while (msg_count<length(message)) {
msg_count = msg_count+1;
if ((substring(message_send, msg_count, 2)) eq "
") {
message_send = (substring(message_send, 1, msg_count-2)) add "
" add (substring(message_send, msg_count+2, (length(message_send))-msg_count+2));
}
}
message = message_send;
delete msg_count;
delete message_send;
}
----------------------------------------------------------
Script on button is this
----------------------------------------------------------
on (release) {
if (subject eq "" or message eq "" or from eq "") {
stop();
} else {
lineAdapt();
loadVariablesNum("mail.php3", 0, "POST");
gotoAndStop(2);
}
}
-----------------------------------------------------------
And script in mailer.php which resides on server is this
------------------------------------------------------------
<?php
mail("your@mail.com", $subject, $message, "From: PHPMailer
Reply-To: $from
X-Mailer: PHP/" . phpversion());
?>
-----------------------------------------------------------
I tried just to add variables in php script like: $company, $name.....but nothing happens....
I would like to add company name and First and last name...and for example phone number...and I would like to display that in message field....
Any suggestions ?
Greetings,
Flyer
Problems With Spacing Merged Variables In E-mail Form
I have a e-mail form which is in flash.
I have several input text fields and named them _root.1, _root.2 etc.
When user fills up form, it opens outlook and places content of variables where content should be.
And now i send it like this
getURL("mailto:blabla@bla.com?subject=" + _root.subject + "&body="+ _root.body+" With regard, " +_root.iip + "")}
Problem is that the text contains senders name, adress etc., in general some information which is not relevant.
The main problem is that i want my e-mail body to look like this
------------------------------------------------------------------
content of _root.body
4 spaces down content of _root.iip //name and surname
--------------------------------------------------------------------
I have now
_root.body _root.iip
-----------------------------------------------------------------
How to???
Really don't know
Flash/CGI E-mail Form -- Form Sends Info To E-mail? HELP Please (AIM/ICQ)
I am trying to make a flash file where you enter in information and then you click send and it sends the data in the form to my e-mail address. I tried customizing all of the cgi ones from the movies section of flashkit, and modifyied the cgi script accordingly. No matter what I've tried, I won't receive the information in my e-mail. For me, this matter is too hard to resolve over e-mail or a forum, so if you would like to, please help me out over instant messenger. I will be online under AIM name: blizzardmedia and ICQ number 64322480
Thanks for your help.
Form - Load Variables Issue
i'm having an issue submitting a form to a php from flash.
i looked on the status bar and it seems the swf is not connecting to the php.
You can find the fla and the php here:
http://www.formatodiseno.com.ar/new/form.zip
can anyone have a look at it
thanks in advance
PHP Form-mail Being Recieved As JUNK-MAIL
hello, i'm having trouble with a PHP form-mail for flash that i grabbed from http://www.bigjolt.com
i tried contacted the dude himself, but no response.
the problem is that after the form clears, i recieve the mail
in my Hotmail 'junk-mail'
i tried adjusting my Hotmail junk-mail filter but had no luck.
plus if i email myself on the form, it should just be like emailng yourself through a regualar email client, which doesnt go to the junk mail box.
basically i need a PHP script with a flash-form thats easy to configure, and that also sends a custom message back to the user.
you can try out the one i have right now here:
http://zain.squarepusher.info
and see if it comes in your junk mail or what??
thanks a lot!~
~Zain
Not Receiving E-mail From Mail Form
Hey all,
I know that there have been dozens of posts regarding mail form problems. I've read over all of them, but haven't found anything to help with my problem.
I have a very simple mail form on my flash site, and am using a .php file to handle the information and send it to my email. It all appears to be functioning correctly, except I'm not receiving my emails.
I've checked with my server and they said everything appears to be in order, and it must be a problem with my script. I've done this many times in HTML, but this is my first in Flash. Any help is greatly appreciated!
I'm attaching my flash file, and I'll print my .php below.
<?
$adminaddress = "form@outshinewebdesign.com";
$siteaddress ="http://www.outshinewebdesign.com";
$sitename = "Outshine Web Design";
//No need to change anything below ...
// Gets the date and time from your server
$date = date("m/d/Y H:i:s");
// Gets the IP Address
if ($REMOTE_ADDR == "") $ip = "no ip";
else $ip = getHostByAddr($REMOTE_ADDR);
// Gets the POST Headers - the Flash variables
$action = $HTTP_POST_VARS['action'] ;
$email = $HTTP_POST_VARS['email'] ;
$name = $HTTP_POST_VARS['name'] ;
$comments = $HTTP_POST_VARS['comments'] ;
//Process the form data!
// and send the information collected in the Flash form to Your nominated email address
if ($action == "send") {
//
mail ("$adminaddress","Info Request",
"A visitor at $sitename has left the following information
Name: $name
Email: $email
The visitor commented:
------------------------------
$comments
Logged Info :
------------------------------
Using: $HTTP_USER_AGENT
Hostname: $ip
IP address: $REMOTE_ADDR
Date/Time: $date","FROM:$adminaddress" ) ;
//This sends a confirmation to your visitor
mail ("$email","Thank You for visiting $sitename",
"Hi $name,
Thank you for your interest in $sitename!
Cheers,
$sitename
$siteaddress","FROM:$adminaddress") ;
//Confirmation is sent back to the Flash form that the process is complete
$sendresult = "Thank you. You will receive a confirmation email shortly.";
$send_answer = "answer=";
$send_answer .= rawurlencode($sendresult);
echo $send_answer;
} //
?>
Help: Form Mail (CGI-style Email Form) In Flash
Anyone have a nice .FLA file to share so I can get in and play with the AS?
I need to setup a CGI-style email submission (request info, etc) completely within the MX2004 pro environment--for a client.
I'm not completely fluent in AS2.0, but I can run with changing the fields and calls so long as the sample is not too complex.
Much appreciated.
Simple Form Troubleshoot For Form Mail
Hey guys...
I can't get the attached form to work no matter what I do. I have to use my host's form mail script. This file is loaded with a loadmovie command on level 3...if that matters.
thank you so much for your time...this is killing me.
tony
E-mail Issue
I'm setting up a presentation that uses the stand-alone player. The fullscreen command is in effect, so the presentation takes over the entire screen. When a user clicks on an e-mail button, the e-mail application (i.e. Outlook Express) launches BEHIND the screen, so that the user can't see it until he exits the program. Is there any way to make Express launch IN FRONT OF the program, so that the user can see it immediately?
E-mail Issue?
I have this action on a button for e-mail:
on (release) {
getURL("mailto:test@cnnq2.com"");
}
Outlook express opens fine and I go to send the e-mail bu then I get and error message. I send it normal through outlook express but for some reasonm when I do it through the flash button it is not working what am I missing in the action?
Think I got it: " needs to come out. right?
Thanks
Mail Form Via Cgi
well i have done a cgi that get few variables as input (email subject ecc...) and returns an html page... i was usin it on html form.
well now i made a flash movie that sends variables to that cgi but i have 2 questions:
1- do i have to use the "load variables" or "geturl" to push the variables into the remote cgi...
2- the cgi gives me an html back, but i d like it to send a signal to the flash movie to notice that the message is sent... then i could go to another frame... for example for displaying "MESSAGE SENT" in the same flash movie
can you help me?
thanx
please mail me also at komarek@mail.cz
E-mail FORM
I'm trying to bulid a feedack form that will send the info people type to my e-mail. I've tried the tutorials, but I don't know what I'm doing with the cgi script, so it doesn't work. Can someone help?
Form To Mail CGI
hello
Ok i have flash five, and I have looked for a tutorial or an open source file that deals with form to mail cgi but have not found anything that works. Am i looking in the wrong places?
I would very much appreciate if someone could send me an example along with the actual cgi script itself.
thankyou
PHP Mail Form...please Fix
Okay guys, here's what's going on.
First, go check out my website <http://www.brentrobbins.com>. On the "contact" page I have my mailform. It does not work, it just sits there and says, "Sending Data...."
HERE'S THE SCRIPT FOR THE PHP FILE (pasted directly):
<?php
$TextVariable = '&results=';
$response = 'Data Sent. Thank You..';
echo $TextVariable;
echo $response;
/* recipients */
$recipient .= "<brent@brentrobbins.com>" ;
/* subject */
$subject = "Your Automail";
/* message */
$message .= "Name: $name
Email: $email
Comments: $comments
";
/* additional header pieces for errors, From cc's, bcc's, etc */
$headers .= "From: $name <$email>
";
/* and now mail it */
mail($recipient, $subject, $message, $headers);
?>
AND HERE'S THE SCRIPT I HAVE FOR MY 'SUBMIT' BUTTON:
on (release) {
// logical operator checks length. IndexOf checks for "@" and "." characters in e-mail
if (!email.length || email.indexOf("@") == -1 || email.indexOf(".") == -1) {
results = "Please check your e-mail address.";
} else if (!comments.length) {
results = "Please enter your comments.";
} else if (!name.length) {
results = "Please enter your name.";
} else {
loadVariablesNum ("http://www.brentrobbins.com/mailform.php", 0, "GET");
results = "Sending Data...";
}
}
I HAVE THREE INPUT TEXT FIELDS CALLED, "name," "email," and "comments," and one dynamic text called, "results."
OKAY SO WHAT AM I DOING WRONG?
Mail-a-form & F4
I have a message-form made in Flash 4 that sends data to a non-changeable script (mail-a-form).
On submitting your message I call the script via Get URL ("/cgi-bin/mail-a-form", window="_blank", vars=POST)
The script sends you to a thankyoupage. This page is set in flash via Set Variable: "nextpage" = "http://........."
There's no way of changing the script but is there a way to not to be send to a nextpage?
Or closing the nextpage immediately after it is opened? ( I tried using javascript but there's a dialogue box popping up to confirm closing the window. This because the window is not opened with javascript)
Thanks in advance
Ivo
E-mail Form
I want to create a form in flash that someone can e-mail to me without knowing my e-mail. in other words I want to create a form for people to e-mail me about whatever. but at the same time I don't want them to know my e-mail addy. I am aware that this may take some pearl or something like that. I can use all the help I can get thank you.
boa743
FORM MAIL CGI
Hi Could anyone point me to a place where i can learn and create form mail using CGI Script with Flash 5.
Or if you have a simple FLA. that would be great
Mail Form
I am relatively new to web/flash programming and would like to know if it is possible to create a flash mail form on a website without the need for PHP?
E-mail Form Help
Alright, on my "contact" page I have one text input box which is a message box... How can i make it so after the user enters their message and hits a key suck as "s", that the message will then send to my e-mail adress? Can somebody please give me the action script code for this to work please (i am not really experienced with action script, so i have no idea how to script this.) I appreciate any help on this matter. Also if it is not too difficult how would i make so they couldn't accidently hit "s" and send me back the already preloaded text that i have in the textfield? I hope you understand what I am trying to articulate...Thanks-
Mail Form
Does anybody know how I can make a simple mailform in flash, without PHP and CGI ?
Is it possible without those two "tools"?
Can anybody give me an example or the full form?
Thanks in advance
Greetings
E-mail Form
Is there anyway to get results from a form to e-mail to a specific e-mail address directly from flash?
And is it possible to allow people to register for a username and password with flash only. Security is not that important, mostly the username and password is for keeping things straight.
E-mail Form (ASP Not PHP)
I am looking for a tutorial that will teach me to make an e-mail form that uses ASP not PHP. Someone please kindly help me.
Thanks in advance!
Mail Form
Hi,
I have a Mail Form (see AS below) which is working fine if it's located in _root. Now I'd like to place it in _root.MC1.MC2
What changes do I have to make to the variables so that the goPostal function will still be working?
Natsurfer
formData = new LoadVars();
formData.name = "";
formData.email = "";
etc..
function goPostal(){
formData.sendAndLoad("http://abc.com/cgi-bin/mail.cgi", "post");
}
Mail Form PHP
HELP! I've tried everything. Just about every mail form I could find I even bought the php friendsofed book. They all do the same damn thing...they just send an email with nothing in it. No matter what i write. I have no idea what I'm doing wrong...the variables look fine and the php seems to be working since its sends me an email....just it has nothing in it.
PLEASE HELP!!
THanks,
Brian
Mail Form
I'm using this method as a contact form in my project
http://www.flashkit.com/tutorials/In...78/index.shtml
It works great on it's own, but when i use it as a movieclip and load the movieclip to a another timeline, the form doesn't work... could anyone help please?
E-Mail Form
Hi,
I hope somebody can help me here. I was trying to create a E-Mail Form and to send the information with php. I found a good tutorial (http://www.flashkit.com/tutorials/Dy...58/more5.shtml) and created it. Now that I'm finished it doesn't work!
I'll tell you what I did. First of all, the form is found on http://www.exdw.de/index2.html on the contact part (it's german, go to "Kontakt").
The input fields and the send button are in the same layer. All the Textfields are Input Texts, Single line and got variables. The send button has the action:
on (release) {
loadVariablesNum("http://www.exdw.de/html/cgi-bin/snowMailPHP.php", "0", "Post");
gotoAndPlay(90);
}
The php-script can be found on http://www.exdw.de/html/cgi-bin/snowMailPHP.php.
Please help me and tell me what I made wrong!? Big THANKS in advance!
Mail Form
i need to know how i can make a mail form in flash, that i can received the mails in the outlook Express
Mail Form
Hi, I´ve tried creating a contact form in flashMX using php but nothing works. Tried using some stuff i got from hotscripts.com but that just cost me half a head of hair. Does anyone know a simple solution to this...
Please... help me keep my hair. I don´t think i´d look to good bald.
Form Mail Help
ok, i have a movie clip with a form in it. It has Name, Email, and Descripion areas to type in. the names of the areas are as follows:
Name
Email
Details
Im not exactly sure where to go from here. I have my submit button with no actions in it yet. I need it to send the completed form to jctv@jeffco.edu.
If anyone can help me from here i would be very grateful...our servers are Unix Standard, but i dont know much about the actual script side of things if anyone can help....thanks
E-mail Form With Php
I downloaded an e-mail form.
Then, I changed the valueable of the action script.
it was"mailPHP.php" but it is now "http://www.shoppingww.com/flash/mailPHP.php" It is where the php file is located.
When I test the movie (ctrl+enter), I can receive e-mails. But when I upload the movie and test it out, I don't receive e-mails.
do I need to change something?
I attached a .fla file and .php file.
Please help me.
I have been struggling with this for the past few days.
I can't sleep!!
Thank you.
E-mail Form
hello everyone..so im doing an email form right now..
big problem.. the host doesn't support PHP, CGI scripts or whatever
what now? is there any other way to fix this?!
thanx
Form Mail
Hey Flashers, I'm not getting my perl script, or cgi script to work. For some reason the server-side scripts are not catching my form or e-mailing the form to my e-mail address. Here are my codes:
On the time line of the form, I have these codes:
function SendTheForm (mailerMC){
SendMail = new LoadVars ();
SendMail.attn = mailerMC.attn.text;
SendMail.from = mailerMC.from.text;
SendMail.subject=mailerMC.subject.text;
SendMail.telno=mailerMC.telno.text;
}
SendMail.onLoad = function (success) {
if (success) {
response="Your message was delivered";
}else{
response ="Delivery failed; please try again or send your more conventionally";
}
}
Now, on your button, I have this code:
myButton.onRelease = function () {
SendMail.send("http://www.mywebsite.com/cgi-bin/myform.pl", SendMail, "POST") ;
}
Now, my problem is the script...everyone I use, perl or cgi, is not working...can I get any further assistance...thanx in advance
Need A Mail Form
Anyone know of a easy mail form i could use, php or asp better?
thanks
Need A Mail Form
Anyone know of a easy mail form i could use, php or asp better?
thanks
Mail Form
What I have to do to have an email sender form im my webpage?? Is that possible??
I'm still newbie to all this stuff so if u could help I would apreciate it very much
Thanks in advance.
And if that's not too much can u comment on my forst website?
http://caramba.no.sapo.pt
Php Form Mail PLEASE HELP
ok,
i have been following a tute(http://www.flashkit.com/tutorials/D..._-658/more5.php), but to no avail
here is the code i have
this is in the flash movie
--------------------------------------------------------------------
on (release) {
if (!emalTxt.text.length || emalTxt.text.indexOf("@") == -1 || emalTxt.text.indexOf(".")== -1 ) {
EmailStatus.text = "Please enter a valid e-mail address";
} else if (!nameTxt.text.length) {
EmailStatus.text = "Please enter your name before sending";
} else if (!subTxt.text.length) {
EmailStatus.text = "Please enter a subject for your message";
} else if (!bodTxt.text.length) {
EmailStatus.text = "Please enter your question in the message";
} else {
loadVariablesNum("snowMailPHP.php", "0", "POST");
EmailStatus.text = "Sending... one moment .. or two.. sometimes it's faster then other times";
}
}
**************************************************
****************
this is the php script I have loaded to the same directory on the web
**************************************************
****************
<?
$ToEmail = "chosenson@excite.com";
$ToName = "Study Buddy";
$ToSubject = "Study Buddy User Post Mail";
$EmailBody = "Sent By: $username
Senders Email: $usermail
Post Subject: $subject
Post Question: $body
";
$EmailFooter="
Please send reply to: $username at: $usermail as soon as possible";
$Message = $EmailBody.$EmailFooter;
mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".$username." <".$usermail.">");
Print "_root.EmailStatus=Complete - Your mail has been sent";
?>
------------------------------------------------------------------
the error checking works just fine. i just do not get the mail sent
the working example is at http://www.geocities.com/studybuddy...er/sb_user.html
this is by no means complete, but should still send mail
any help is greatly appreciated
chosenson
Form Mail
anybpdy know a really good tutorial on making a flash fom that works. I have tried tutorials but I cant figure out how to get it to work
Mail Form
I downloaded this form mail from flashkit, made all the changes required but it doesn't work. my server allow PHP so it's not the problem. Was I suppose to change the chmod or did I miss something?
http://www.flashkit.com/movies/Utili...4983/index.php
How Do I Do A E-mail Me Form?
ok, so i have an input text box with the variable name of "comments" and the instance name of "instance_comments". I have a submit push button with the instance name "submit". if i want, when you push the push button, the contents that the person wrote in the input field to be sent to the e-mail account of alli@alaird.com, what action script or whatever should I put in the submit button?!
alex
Mail Form In PHP
Hello,
I need to make a very simple form in flash which can input Name and E-mal address from the user and email them into a specified email address.
And i want to make it on PHP. I don't know PHP and flash scripting. I used pre made script but its not working, i have attached every file please advice me what to do.
Thanks,
Amir
|