ActionScript 2.0 :: Mail Form - PHP Sending Plain Text Email Message
Mar 10, 2010
For a company I made a website in flash. Everything seems to work fine except the mailform. Infact the mailform does his job but the message's I receive look like this:
First name: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="13" COLOR="#000000" LETTERSPACING="0" KERNING="0">Nick</FONT></P></TEXTFORMAT>
Email: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="13" COLOR="#000000" .....
View 9 Replies
Similar Posts:
Aug 24, 2009
The form is not sending a message to my email. I am not sure whether the problem is in the AS 3.0 code or the PHP code, anyway here's the code:
Actionscript 3.0 code:
function handCursor(e:MouseEvent):void {
e.target.buttonMode=true;
e.target.useHandCursor=true;
} build variable name for the URL Variables loader
var variables:URLVariables = new URLVariables;
[Code] .....
View 2 Replies
Feb 25, 2011
Send button action:
onClipEvent (load)
{
this.t.v = _root.contacts_txt9;
}
[code]...
View 1 Replies
Mar 11, 2003
[URL]. I can't seem to get an email to go to my account. I have the php form adjusted with my information (and in the same folder as my swf file). I've checked with readyhosting, my site host, and it says that it supports php. Am I placing the script in the wrong place (folder)?
View 3 Replies
Aug 6, 2010
I have designed a form with a mail form these are the codes that I am using with my php file but its not sending the message. My same php file is working fine with the static html site. Here is the flash code on first frame:
function submit() {
if (contact_name.text == "" || contact_company.text == "" || contact_phonenumber.text == "" || contact_besttime.text == "" || contact_findus.text == "" || contact_learningmore.text == "" || contact_sellermandate.text == "" || contact_buyermandate.text == "" || contact_abuyer.text == ""){
message_status.text = "Please fill up all text fields.";
[Code] .....
View 1 Replies
Feb 9, 2006
I have a working flash php mailing form but the only problem is that I put some code in there to check if the email is valid before it sends it off but it doesn't seem to work. I did a test by just putting in a as the email and that worked, sent off the email without giving an error.
Code:
mailReceiver.onLoad = function() {
if (this.response == "invalid") {
mainTL.gotoAndStop(1);
[Code]....
Is is possible to check if its valid before it sends off or is there another method for checking valid email addresses. I used that code from [URL] website.
View 2 Replies
Dec 9, 2005
I created a funky mail form and i can't seem to send the info from the input boxes in my flash file... to the PHP script, stuff it into an email, and then send back a success or error response. I am attaching the FLA and PHP files as well as the external .as files that are needed for the FLA's effects to work. [URL]
View 1 Replies
Sep 12, 2009
I never usually work with flash or websites of anykind, but just couldn't resist this time: to make a php email form in flash!
I found a neat script for this: [URL]
The message in the form gets sent to my email.
$message = $_POST["message"];
Now I have added extra variables in my flash form like like "address", "postal code", "country" etc which I would also like to appear in the content of my email.
How do I get these details in my email?
View 1 Replies
Dec 26, 2011
how to save contact form data in a textfile rather than sending a mail?
View 3 Replies
Jun 28, 2009
I have looked all over the Internet for help with this.I have tried numerous video tutorials and for some reason I can't get it to work. I have created a form in flash cs4 AS2. It is a contact information form where the user fills out their information and sends it.I have created a the form in a movie clip (I have also tried it not in a movie clip) with the form components inside that movie clip.I have given each component on the form an instance name.The form has:
Full name (with instance name=name)
Company (with IN =company)
Title (with IN = title)[code]....
View 2 Replies
Mar 15, 2010
i created this contact form in flash 8 and i get the email but an UNDEFINED message pops up on my status i cant get rid of it here is my action script for the submit button
[Code]....
View 1 Replies
Jan 21, 2003
does anyone know the code for sending a form in flash 5 to an email address?
View 5 Replies
Nov 21, 2005
I'm making a form using AS 2 with input fields, radio buttons,a list component and a dateChooser.[URL]..
now i need to send the results to the mail and send a confirmation email to the user which may (doesnt have to) contain the users input.
I tried all kinds of tutorials but they were all made for as1 or dindnt have the dateChooser and list component included in them.
does anybody know a good tutorial for this or a source file wich may come in handy?
View 14 Replies
Jul 26, 2011
I have a flash contact form and managed to send email with the help of PHP script. Actually, I followed this tutorial on URL.... Now, would like to get one more feature, "attachment".
View 3 Replies
Jan 29, 2004
I made a flash form to send variables by a php file for my mail..the fact is that when I receive the mail characters. This is what i have in flash:
1. Input textfields with several variables, and I already choose all kind of latin characters, and it isn't working!
2. The code for the send button is:
on (release) {
if (!from.length || from.indexOf("@") == -1 || from.indexOf(".") == -1) {
status = "Insere um email volido!";
} else if (!nome.length) {
[Code] .....
And this is working! I still don't know if the problem is in flash or in the php file..
And this what I have in "mail.php3":
<?php
mail("xirika@hotmail.com", $subject, $message, "From: beAgency
Reply-To: $from
X-Mailer: PHP/" . phpversion());
?>
I already tried to save the php file in dreamweaver encoded in UTF-8 but it didin't worked, actually the mail never came!!
View 5 Replies
Aug 26, 2004
[URL]. I am trying to make the code into a function so that I can place it in a frame instead of attaching it to a mc.
onClipEvent(data){
this.sendSent.text = "MESSAGE WAS SENT";
this.textEmail.text = "EMAIL";
this.textSubject.text = "SUBJECT";
this.textName.text = "NAME";
this.textMessage.text = "MESSAGE";
} on (release) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
this._parent.form.loadVariables("email.php", "POST");
}
View 10 Replies
Mar 19, 2007
I'm trying to make a small email capture form, but I'm having trouble getting Flash to pass the email address to the server. I've since given up trying to use getURL and I'm simply trying to trace the variable instead. The form consists of a text box w/ instance name "email_txt" and a button w/ instance name "btnSignUp." the actionscript is placed on the button.
Here's PHP Code:
on(release) {
trace("email_txt says: " + email_txt);
// getURL stuff here
}
My trace statement reads:
Code:
email_txt says: undefined
View 5 Replies
Dec 21, 2010
have created a contact form that sends 3 lots of data (name, email and message) to my email address. here is my code for my flash form which looks right
import flash.net.URLVariables;
import flash.net.URLRequest;
InteractiveObject(theName.getChildAt(1)).tabIndex = 1;
[Code].....
View 1 Replies
Jun 19, 2009
I have the following which produces a trace if the user does not type an email address when testing locally, but nothing when testing outside of Flash.
[Code]...
View 1 Replies
Sep 24, 2010
So I have built a contact form out of AS2 and PHP. PHP 5 is enabled on my server, so that's not a problem. I think there is a slight error within my code somewhere. What happens is once online, you fill out the form and hit post, it goes to the "error sending email!". Below is my code so you can take a look at it. I also have included below that a link to download the actual files.
[Code]...
View 1 Replies
Dec 28, 2004
How to do it so that if you enter two input lines and press OK it will send these two lines somewhere i can see them?
View 1 Replies
May 16, 2011
I would like to embed a css file using
[Embed(source = 'mystyle.css', mimeType = 'text/css')]
private var _css:Class;
but 'text/css' is not a supported transcoder. Is there a list of transcoders that someone can point me to? I really just need it to read plain text but 'text/plain' is not available either.
View 1 Replies
Jul 17, 2010
I have only two fields Name and Email in a Order form and a PayPal button for payment at PayPal ( into my account).I can do the mail portion but have no idea about PayPal code, however on search here I found one code and after pasting this one to the PayPal button it redirects to my PayPal account.But the question is anybody can post a message and leave the site without paying me. How can I do this thing so that the user will forced to pay before posting the mail form.
View 1 Replies
Aug 4, 2010
i have a flash gallery .In this i need a email button ,when click on the mail button an email editor might be open ( outook ) with the currently selected image as its attachment .
View 3 Replies
Nov 28, 2007
I am working on a fairly simple form in flash that sends its text input (name, email, subject, and message) to a php file that in turn sends an email containing the inputted text. I tried searching the forums but I couldn't find another case quite like this. Basically I'd like the email sent to just include the inputted text, but it seems that the variables are passing all the text box formatting in addition to the inputted text. I will include my AS, php, and email result below.
AS:
Code:
stop();
messageSent._visible=false;
sendBtn.onRollOver=function(){
this.gotoAndPlay("_over")
[Code].....
View 4 Replies
Apr 11, 2007
I'm having trouble setting the focus on the next text box on the form after a message is displayed. Here is what I have??
[Code]...
View 1 Replies
Dec 4, 2010
I don't know if this is too much to ask but could someone give me a quick overview on how to create an email form that actually sends the information to my email? I have the form created, and I'll post the .fla file (I allow a laugh at my elementary flash movie. This is just a final project for an intro to flash class), and I understand I'll need the .asp file from GoDaddy setup on my hosted space.
View 3 Replies
Mar 21, 2005
I have used the kirupa tutorial on a flash email form and it works GREAT! The only thing is I want to have required fields that need to be entered in for the form to send. If the user doesn't enter anything, it will ask them to in order to send the email.how I can do this or adapt it to the kirupa tutorial code?
View 1 Replies
Feb 20, 2010
I've created a form in flash to for customers to send email from the website. I'm using action script 3 - (mailto: ) There are two problems.
1) It doesn't send. A blank email form comes up that the user has to fill out - doesn't work with their email client.
2) How can I get it to validate?
View 2 Replies
Jan 20, 2010
iam trying to create an email form with flash cs4. so i've designed the layout and i've written a script to check that the details given are correct. but i am having problems while i am trying to sent those details to my email. here is the script after the details were checked:
[Code]...
View 4 Replies