Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




E-mailer



Anyone know how to set up a built in e-mailer? I'm trying to do this on my web site but I'm not sure how to or where to look for direction. Is there a tourtorial out there.

Here is the link:
www.image202.com/bjames

check out the contact page. I need to get the e-mailer going.

thanks



FlashKit > Flash Help > Flash General Help
Posted on: 09-26-2003, 08:21 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

PHP Mailer 2.0
PHP Mailer 2.0 that i found here at Flaskit seems to be a great mailer and i want to use it.
But i have a small problem:
It doesn't seem to get out of the loop. It gets stuck at the "please wait for confirmation screen"
and althoug the script works and both emails that are supposed to be send are send, the movie never gets to the "done" position.
Am i doing something wrong?

Here is the address for PHP mailer 2:
http://www.flashkit.com/movies/Utili...83/index.shtml

Php Mailer...help
i made a formmail using the PHP mailer...everything works, less the combobox doesn't send the information in her. How can i do it.... the file is attached...if anyone can help me

Grr, PHP Mailer
I downloaded a example file of a PHP Mailer which I can get to work fine on my server. But when I move to code into flash player 6 it wont work. I am not very good at PHP so, and have not worked much at passing variables. So, if you could, please tell me how to fix this.

Here is the code:
loadVariablesNum("sendmail.php", 0, "POST");

I have tried changing loadVariablesNum to loadVariables becuase the frist had been depreciated. Also, from what I understand, I dont need to specify what variables to post, and I cant find anything else relating to posting the variables in the example .fla Can anyone help me?

PHP Mailer
I threw this together really quick, and I have triple checked everything in it and I cant for the life of me figure out what is wrong. Can someone look over this flash php mail quick and tell me the reason why I keep banging my head against the wall Thanks

Php Mailer
I am having a horrible time creating a form in Flash and php to simply email info collected about the user to myself. I posted a topic earlier today entitled sending variables to a php file and someone helped me but not really(their file was an "unexpected format" when i tried to open it). I am trying to learn how to do this because it is on almost every site and seems so simple but it is impossible for me. Any help would be greatly appreciated.

Thank you.

PHP Mailer
How do I create and design a PHP Mailer ...Thanks

PHP Mailer
anyone know of a good tutorial or downloadable clip of a php mailer? preferably one able to switch between recipients via dropdown menu.

TYIA! =)

Php Mailer
Hi all,

I'm trying to make a mini flash form where if people enter their email address it sends them an email with a link, but its not working...

At the moment this is the actionscript I've got on a frame that references the button 'submit'-


Code:
stop();

var senderLoad:LoadVars = new LoadVars ();
var receiveLoad:LoadVars = new LoadVars ();

submit.onRelease = function () {
senderLoad.Email = Email.text;
senderLoad.sendAndLoad("http://www.mysite.co.uk/sender.php", receiveLoad);
}

receiveLoad.onLoad = function() {
if(this.sentOk) {
_root.referring_mc.download_mc.gotoAndStop ("success");
}
else {
_root.referring_mc.download_mc.gotoAndStop ("failed");
}
}
and this is the php-


PHP Code:



<?PHP

$to = "$Email";
$subject = "mysite hangman link";
$message .= "
Thankyou for joining, please follow this link to play the game.
http://www.mysite.co.uk/hangman.html";
$headers = "From: admin@mysite.co.uk";

$sentOk = mail ($to,$subject,$message,$headers);

echo "sentOk=" . $sentOk;

?>




Can anyone see why it might be going wrong, I've checked all the labels and paths are right but it still isn't doing anything?

Any help with this would really be appreciated!

Tom

ASP Mailer
Im using MX2004 I have a asp mailer that I cant get to mail. Check it out.

Action on button
Code:

Code:
on (release) {
if (!Email.length || Email.indexOf("@") == -1 || Email.indexOf(".") == -1) {
EmailStatus = "Please enter a valid E-mail address";
}

else if (!FirstName.length) {
EmailStatus = "Please Enter your name before Sending";
}

else if (!ToComments.length) {
EmailStatus = "Please enter some text in you message";
}

else {
loadVariablesNum (mailform, "0", "Post");
EmailStatus = "Sending... one Moment .. or two.. sometimes it's faster then other times";

}
}


ASP script
Code:

Code:
<%

FirstName = Request.form("FirstName")
Email = Request.form("Email")
Company = Request.form("Company")
ToComments = Request.form("ToComments")

'HearAbout = Request.form("HearAbout")
strName = "billy"
strEmail = "billynugz@hotmail.com"
strSubject = "Tutorial Request Example Email"
strBody = ToComments & HearAbout & Company
Set Mailer = Server.CreateObject("Persits.MailSender")
Mailer.username = "xxxxxxx"
Mailer.password = "xxxxxxx"
Mailer.RemoteHost = "web1.tsunami2.com"
Mailer.FromName = FirstName
Mailer.FromAddress = Email
Mailer.AddRecipient strName, strEmail
Mailer.Subject = (strSubject)
Mailer.BodyText = strBody

if Mailer.SendMail then
Response.Write "_root.Mail.EmailStatus=Complete - Your mail has been sent"
else
Response.Write "_root.Mail.EmailStatus=Failure - Your mail was not sent - errors"
Response.Write Mailer.Response
end if
%>


It never seems to send and I dont know why any guesses?

Any help would be great

PHP Mailer
Hello everyone!

Lemme just get straight to the point. I don't know actionscript very well, and I dont know PHP :P.

I downloaded the .FLA and the .PHP from the PHP Mailer 2:
http://www.flashkit.com/movies/Utili...4983/index.php
Ive got them uploaded to the site, and I changed the .php for my email. But for some odd reason it stays at the status page. I do not recieve any emails. my website is here . Please help in any way that u can. THANKS!

Php Mailer Help
I do not have extensive knowledge of scripting in either AS or PHP4 but enough to play around and I have tryed everythin I know.

I am trying to get the mailer to work (which i found in a tutorial on actionscript.org) on a web site of mine. I have checked that sub-scripts are enabled on the server I am using but still I am receiving no mail.

Would someone please look over these scripts and let me know if there is something vital I am missing

I am using ACS3 Flash and .php4

Flash script on timeline:

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)) + "
" + (substring(message_send, msg_count+2, (length(message_send))-msg_count+2));
}
}
message = message_send;
delete msg_count;
delete message_send;
}

Flash Script on 'Send' Button:

on (release) {
if (subject eq "" or message eq "" or from eq "") {
stop();
} else {
lineAdapt();
loadVariablesNum("mail.php4", 0, "POST");
gotoAndStop(2);
}
}

Php Script:

<?php
mail("oli_lyndale@yahoo.co.uk", $_GET["subject"], $_GET["message"], "From: PHPMailer
Reply-To: $_GET["from"]
X-Mailer: PHP/" . phpversion());
?>

A massive Thankyou to anyone who helps me with this issue

reguards

Oli Lyndale

PHP Mailer
HI, I used the tutorial by jesse to create a PHP mailer in flash 5. this worked with no problems. I have recently upgraded to flash 8 and the code does not work:

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;
}


Flash comes up with this error message

**Error** Symbol=mail, layer=actions, frame=1:Line 7: Syntax error.
message_send = (substring(message_send, 1, msg_count-2)) add "
" add (substring(message_send, msg_count+2, (length(message_send))-msg_count+2));

Total ActionScript Errors: 1 Reported Errors: 1


any ideas???

cheers

steve

PHP Mailer
Why do I get 'undefined' from my php echo.
This is my code:










Attach Code

// -------------------- In my Flash File -----------------------------

var sendLV = new LoadVars();
var getLV = new LoadVars();
sendLV.user_id = userid;
sendLV.the_name = the_name.text;
sendLV.the_email = the_email.text;
sendLV.the_message = the_message.text;
sendLV.sendAndLoad("mailer_form.php",getLV);
emailingTo.text = "Sending, please wait...";

getLV.onLoad = function(success) {
if (success) {
emailingTo.text = "Could not send: "+this.mailstate; // I get undefined for 'this.mailstate'
}
}


// -------------------- In my PHP File -----------------------------

<?php
$to="my_email@yahoo.co.in";
$subject="Feedback Id:".$_POST["user_id"];
$message="Name : ".$_POST["the_name"];
$message.="
Email : ".$_POST["the_email"];
$message.="

Message :".$_POST["the_message"];
$headers ="From: $the_email";
$headers.="
Reply-To: $the_email";

$sentDone=mail($to,$subject,$message,$headers);
echo "mailstate=".$sentDone;
?>

Mailer Php
OK I have searched for the last few weeks in this forum and tried many variations of php and such with my mailer.
To mentioin a few I have gone to the following links for reference

http://www.actionscript.org/tutorial...il/index.shtml

http://www.kirupaforum.com/showthrea...ghlight=mailer

http://www.kirupaforum.com/search.ph...der=descending

and so on and so on.
I show you these to let youknow I am not starting form scratch without attempting it first. I have a small mailer box on my site I am building for a nightclub. To see what it looks like go to
http://www.swordinthestone.20m.com/thisislondon

The files that mnake this up are
http://www.swordinthestone.20m.com/t...nts/mailer.fla
http://www.swordinthestone.20m.com/t...nts/mailer.swf
http://www.swordinthestone.20m.com/t...ents/mail.php3


How can i get this to work. H88's posts seem to have been informative to others but I can't translate it and make it work with my text bopxes which have different values.

Can anyone shed some light on my situation.

PHP Mailer Help
Why when i want to use a UI component such as a Combobox does it not let me... like where the hell is the VAR imput for a combobox...

and why wont it let me use a UI component button for the send button??

PHP MAILER
Hi have tried to acivate the php mailer that was provided in this tutorial..
for some reason it wont work at all.

does it matter if an external swf containing the email form is loaded into a target MC.

PHP Mailer
anyone knows whats wrong with this PHP mailer ??
i have added it to flash site and it doesnt work, actually does it work with flash or only with HTML ?

Php Mailer
help me please, i have to mke a form inf lash to compose a mail, y tried using the tutorials, but nothing works, any ideas???

Mailer
'K. I want to know how to create a mailer. Not an ordinary mailer, but one that responds to you right after you submit you're email address.
Example
2 Advanced
derBauer





Anyone know where I can get a .fla or more help?

Thanks.
UnSa

E-Mailer Help
I was wondering if you could help me out with a small problem.
I have a button and want to set it up to open the users default email program so they can send a email to a pre-determined address. This is the code I am using.

on (release) {
getURL("mailto:me@myaddress.com");
}

When I attach this code to my button it doesn't do anything, but if I set it up to go to a website it does it no problem. I went to a site to see if my Outlook Express would open if I clicked a email link and it did.I'm stumped.

I running Flash MX. Any suggestions?

Guestbook And Php Mailer
Im trying to find a tutorial on how to make each of these but i cant. I have downloaded few .fla files but i just cant seem to get them to work. Please could somebody help me if i was to send them my fla file and they could edit it for me? thanks nick

PHP Mailer Don't Work.
I used a file I found here. I've always used plain HTML,
but I thought I'd try a php mailer. Looks cool, but it doesn't work! I tried using one I found on http://www.flash-db.com too, also doesn't work. Do I have to have something set up on my server? Does the PHP have to be in the cgi-bin. What gives?

Yes, I'm retarded. Just help me out. Throw me a bone here. I helped you out with z-sorting, remember?

Form Mailer
Im trying to get a Form Mailer running on a host server, Has anyone done this succesfully using Flash 5?. ( "I CANT" )A working example of a FLASH file with a submit button and action, and recipient variable, would be just GREAT! Below is the CGI my host specifies i use.

<form method=POST action="http://home.xtra.co.nz/cgi-bin/FormMail.pl">
<input type=hidden name="recipient" value="formdata@kahoh.co.nz">

If you can help me, Ive been trying, just cant find the breakdown.

Post file to - flash@kahoh.co.nz and Thanks!!!

Flash 5 E-mailer Help...
Hi Every time i try to make the action script It dont work...Can any one give me a action script that would..I have a Subject, Body and Your E-mail, variables...Thank you

Php Mailer Question
Hi all!

This does not especially fit in here but maybe any of you knows about this:


mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".$Fax." <".$Fax.">" MIME-Version: 1.0
.Content-type: text/html; charset=iso-8859-1);

this unfortunatly doesn't work, any of you got an idea what's wrong?


Thanks in advance,
-----va

Flash E-mailer
http://www.flashkit.com/tutorials/In...-206/more2.php

im looking at this tutorial for a site im doing and dont understand about the variables that are used especially the referers part because is this something to do with the web hosting of the site i ain't got a clue!
so could someone elaborate on it a bit

thanks

PHP Mailer Problem
I am trying to work this mailer and I am a newbie.

Tell me if anyone notices what is wrong with my script


here is what is in my flash movie:

on (release) {
if (!FirstName.length) {
EmailStatus = "Please Enter your name.";
} else if (!Email.length || Email.indexOf("@") == -1 || Email.indexOf(".") == -1) {
EmailStatus = "Please enter a valid E-mail";
} else {
loadVariablesNum("MailPHP.php", "0", "POST");
gotoAndPlay(10);
}
}


here is what is in my PHP file:

<?
$ToEmail = "advertising@carpeinternational.com";

$ToSubject = "Flash Contact Form";

$EmailBody = "Sent By: $FirstName
Senders;

mail($ToName." <".$ToEmail.">",$ToSubject, $EmailBody, "From: ".$FirstName." <".$Email.">");

?>







**I put my SWF in another HTML page. Is it calling the PHP? DO I have to put the above info somewhere else?

I am lost



G/g

Creating A Mailer
I have download/read alot about emailers, the forms. I was wondering if anyone had AIM, so I can talk to em 1 on 1, to help me walk it thru

Form Mailer
Im sort of a noob at flash, but i have 2 text boxes. One is for there username, and the other message. I want it when you press send, it sends that info to my email address. then changes scene to a thank you scene. How do i do this?

Combo Box Mailer
Hello, I have to send info from a combo box using PHP. I have modified a php mailer that I found on flashkit, but I cant get the combo box info to send. Tryed giving the FLabel text feild a variable but no go.

Any suggestions help or comments would be cool.

Thank You.

Form Mailer
I am trying to create a simple form mailer with the catergories "name", "email", "phone", and "comment" to send to a specified address. I can create the form and give the input text fields variables but I don't know where to go from there. Any help is much appreciated, thanks.

Flash E-mailer
I'm trying to find a tutorial on how to create a form in flash that will send an email. I have an ASP form mailer script on my site, though I don't know how to use it. Can anyone help me out or point me in the right direction? I haven't been able to find a good movie or tutorial about it.

Flash E-mailer
I am creating a flash e-mailer.
I created the first animation sequence, published the file, then I went to outlook express and added the html and swf files to the stationary folder.
When I create a new e-mail then a error pops up that says
"Your current security settings prohibit running ActiveX controls on this page"
I have tried to go change some setting under Security center in my control panel, but it didnt work.

What can I do for my flash e-mailer to display on the opening of the e-mail? Not just for me but the other PC users that will receive this e-mailer too?
Would really appreciate the help, thanx

PHP Mailer : Does Not Work
http://www.flashkit.com/movies/Utili...4983/index.php

Hi, i downloaded this PHP/Flash mailer demo from the Flashkit movie collection.
But i cant get it to work.

http://www.gianteraser.orcon.net.nz/levi/form.htm

All the files (form.htm, form.swf and mailform.php) are at the root location on the server, yet the .swf does not seem to be accessing it.

http://www.gianteraser.orcon.net.nz/levi/mailform.php

I dont know what im doing wrong.

Any advice??

Cheerz,
Dwayne

Flash Mailer Help
I am kinda newbish when it comes to flash. However I'm trying to get a mailer box to work on one of my websites.

www.autozonecollision.com

If you look at the contact box I want to get that working.

Here is the website I have working right now

http://www.alawellness.com/contact.htm

I want to take that box and insert that into my flash file at autozonecollsion.com

if anyone could give me some tips on how to do that, I would appreciate it.

Thanks in Advance

PHP Flash Mailer
Hello.
Before you tell me to look at other threads, or movies, please hear me out.

I've been trying to make a form in flash to email information from text fields to my email. I've looked at countless threads, and movies, and have gotten a good general idea of what I need to do, but it hasn't been totally working for me, and I just need some one on one help.

My problem is that the "submit" button for the form, will call the php and send me an email, but the fields are blank. here is my flash code for the frame that the text fields are on
stop();


Code:
var senderLoad:LoadVars = new LoadVars();
var receiveLoad:LoadVars = new LoadVars();

sender.onRelease = function() {
senderLoad.theName = theName.text;
senderLoad.theEmail = theEmail.text;
senderLoad.theMessage = theMessage.text;
senderLoad.sendAndLoad("http://www.camprockstar.ca/test/send.php",receiveLoad);
}

receiveLoad.onLoad = function() {
if(this.sentOk) {
_root.gotoAndStop("success");
}
else {
_root.gotoAndStop("failed");
}
}
and here is my php file


PHP Code:



<?php

$to = "dazeez@gmail.com";
$subject = "CampRockstar Info Request";
$message = "Name: " . $theName;
$message .= "
Email: " . $theEmail;
$message .= "

Message: " . $theMessage;
$headers = "From: $theEmail";
$headers .= "
Reply-To: $theEmail";

mail($to,$subject,$message,$headers);

?>




I'm just getting into php, so I can't really troubleshoot myself that well, s any insight would be greatly appreciated. Thanks all.

[CS3] Flash & PHP Mailer
Hey everyone... I'm trying to put together a flash contact form with a php mailer. For some reason I'm not getting anything to work! Could you take a look at my code and let me know if you see anything wrong? Thanks!

Here's my action script:

Code:
stop();
send_btn.onRelease = function() {
my_vars = new LoadVars();
my_vars.sender = email_box.text;
my_vars.subject = subject_box.text;
my_vars.message = message_box.text;
if (my_vars.sender != "" and my_vars.subject != "" and my_vars.message != "") {
my_vars.sendAndLoad("mailer.php",my_vars,"POST");
gotoAndStop(2);
} else {
error_clip.gotoAndPlay(2);
}
my_vars.onLoad = function() {
gotoAndStop(3);
};
};
And here's my php code (email is generic for post purposes):

Code:
<?php

// read the variables form the string, (this is not needed with some servers).
$subject = $_REQUEST['subject'];
$message = $_REQUEST['message'];
$sender = $_REQUEST['sender'];


// include sender IP in the message.
$full_message = $_SERVER['REMOTE_ADDR'] . "

" . $message;
$message= $full_message;

// remove the backslashes that normally appears when entering " or '
$message = stripslashes($message);
$subject = stripslashes($subject);
$sender = stripslashes($sender);

// add a prefix in the subject line so that you know the email was sent by online form
$subject = "photo ". $subject;

// send the email, make sure you replace email@yourserver.com with your email address
if(isset($message) and isset($subject) and isset($sender)){
mail("email@email.com", $subject, $message, "From: "$sender);
}

?>

ActionScript And PHP Mailer
I have a little script that sends an email when someone wants to join a newsletter on a site I am working on. It worked well on my test server, but now on the real one it is having issues. It works but the variables don't come through right.

AS that sends to mailer:

ActionScript Code:
eN = emailName3.text;
eA = emailAdd3.text;
var url = "mail.php?eN=" + eN + "&eA=" + eA;
loadVariablesNum(url, "0", "POST");

Php mail script

PHP Code:



<?php
$eN = "$eN wants to join your newsletter!";
$eH = "From: $eA";
$eA = "$eA is their email.";
mail("test[at]test.com", $eN, $eA, $eH);
?>




It worked on my server, now on this one I get this:

Quote:




From: brysonj[at]linhost256.prod.mesa1.secureserver.net
Subject: wants to join your newsletter!
Date: December 31, 2006 8:53:54 PM CST
To: test[at]test.com

is their email.




I removed the @'s to hopefully stop the emails from being picked up.
Any idea of why this happens?
Thank you!

Php Mailer Problem
Hi,

I am trying to set up a 'contact' form on a website. I have got the .fla and actionscript from the tutorial on actionscript.org. I recieve an email but it contains no subject, message or 'from' details.

Any ideas why this is happening?

please see attached .fla and php files.

Thanks

PHP Mailer Package
Hi, I wanna set a "mailer form" package with a php file and I want to send variables dinamically without writing everytime all the fileds to pass to php.
This is the as3 function:

Code:

var campi:Array = new Array("name", "surname", "mail");
function spedisci(){
var pathFile:String = "php/mailer.php";
var requestUrl:URLRequest = new URLRequest(pathFile);
var loader:URLLoader = new URLLoader();

for(var n:Number = 0; n<campi.length; n++){
var trg = getChildByName("input"+n);
var appoggio = campi[n]"="+trg.text;

trg.text = "";

requestUrl.method = URLRequestMethod.POST;
requestUrl.data = variables.appoggio;
}
loader.load(requestUrl);
}
This won't works... I tried to set up an URLVariable called variables and tried to do this:

Code:
var appoggio = campi[n];
variables.appoggio = trg.text;
but the result was:
variables.appoggio=blablabla
variables.appoggio=lalalalala
variables.appoggio=yuyassg
.
.
.
WHY??? Obviusly if on the campi array I'll have "name", "surname", "email" on the php file I'll have $name = $_POST['name'] ecc ecc

Help With Form E-mailer
I wonder if anyone can help me.
I am looking to create the following...

A way of transfering data from within flash in the form of variables to an e-mail address.
It will work by the user selecting various products via checkboxes and when they press submit it will submit this data of what products they wish more information on to the clients e-mail address along with the customers e-mail address.

I understand how to get the inofrmation ready to send in flash but i need some advice on the best way to get it out of flash and sent to the clients e-mail address preferably without using PHP or similar scripting as i have no clue about it.

If there is no other way can some one direct me to a decent concise tutorials which will teach me what i need to know about php to achieve such a form.

Cheers

Php Mailer Help :desperate
ok, i take it back, i tried searching the database here for help on making a php mailer for flash, and it seems like there was confusion galore on everyones part.
if anyone here can please tell me how to make a php mailer that actually works in flash please help me out. thanks guys -d

PHP Form Mailer
Hi guys,

Thanks for the great tutorials.

The isnt one on form mailing with php. Can someone help me please.

Thanks alot.

CGI Mailer Firm
Can anyone point me in the right direction for a good tutorial to produce a mailer form using CGI in Flash MX2004?

There are loads for php but my server doesnt have php, only cgi.

Help With The Flash Mailer Using Php
i was working on this tutorial (http://www.kirupa.com/developer/acti..._php_email.htm)

it sends me a blank email. the only thing that it pulls from the form is the email field.

i have the vars filled out for the other fields.

the actions for the send buttons is this:

on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
form.loadVariables("email.php", "POST");
}
on (release) {
gotoAndPlay(50);
}


the php file is the same as in the tutorial.

any help would be much appreciated.

PHP Mailer + External Swf
I know it's a well worn topic on the forum (which is a new home for me) but I have a contact form that works fine on it's own but when loaded into another swf it won't display the confirmation message (the email does arrive though). I know I'm missing something easy but I'm not sure if my brain can take the strain anymore!

Files can be downloaded from:
http://www.stephiandcharlie.plus.com/contact.zip

Combobox Value To Php Mailer
Yo peps
How can i pass a user-selected value from a combobox to a php? Just like i do with imput fields?

Any help is welcome

PHP Mailer Problem
Created a simple contact mailer using the loadVariable("email.php", "POST") action on a send button, I have a EmailStatus message that is displayed after you press the button but the PHP will not work code:


Code:
<?php
$sendTo = "acondon747@yahoo.com";
$subject = "Support Form";
$headers = "From: " . $_POST["name"];
$headers .= "Subject: " . $_POST["subject"];
$headers .= "<" . $_POST["email"] . ">
";
$headers .= "Reply-To: " . $_POST["email"] . "
";
$headers .= "Return-Path: " . $_POST["email"];
$message = $_POST["message"];
mail($sendTo, $subject, $message, $headers);
Print _root.EmailStatus="Complete - Your message has been sent";
?>
Button code


Code:
on (release) {
if (!email.length || email.indexOf("@") == -1 || email.indexOf(".") == -1) {
_root.EmailStatus = "Please enter a valid E-mail address";
} else if (!name.length) {
_root.EmailStatus = "Please Enter your name before Sending";
} else if (!message.length) {
_root.EmailStatus = "Please enter some text in you message";
} else if (!subject.length) {
_root.EmailStatus = "Please enter a subject for your message";
} else {
loadVariables("email.php", "POST");
_root.EmailStatus = "Message is being sent please wait...";
loading = "YES";
_this.gotoAndPlay(2);
}
In the form movie clip there are 3 frames 1st frame (stop()) ,2nd frame (just a keyframe),
3rd frame

Code:
if (loading eq "YES") {
gotoAndPlay(_currentframe-1);
} else {
_this.gotoAndStop(1);
}
I know the button works but there is no contact to the php im running on Mosso so I know it will run php both index.html and email.php are in the same root directory on the site. Where is the problem? Thanks in advance

Flash App Mailer
I want to send info to an email adress using flashm could sombody help with this?

eg.

User, Pass, server, e-mail, name,
/
Send to (e-mail)

thx in advanced

Copyright © 2005-08 www.BigResource.com, All rights reserved