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




Sending Mail Using As And Php.



Hi. I have this contact form where i use as and php to send mails from the site .
My problem is that the site is norwegian, and we have three special characters ( æ, ø and å ).

Now... when i write these into the form everything's ok, but when i send them using the php, these characters is messed up by the time i receive them in my mail. (e.g. "å" is converted to "Ã¥")

Does anybody know how i can fix this?

Thanks alot!



FlashKit > Flash Help > Flash ActionScript
Posted on: 03-15-2006, 09:02 AM


View Complete Forum Thread with Replies

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

Sending Mail
I have a few dymanic text input boxes, these are for people to type information into. I was wondering if its possible for this information to get sent to a particular person once a "send" button is pressed. Is this possible?

Sending E-mail
Hi all

Is it possible to send an e-mail automatically using flash. I.e. the user enters the e-mail address and message into some input boxes and clicks send and the e-mail is sent.

Thanks
M

Sending Mail
I need to know how to send an e-mail using flash and some scripting language the same way that 2advanced does in the contact section of http://www.2advanced.com . I'd prefer some help today, or my dad'll be pissed 'cause it's for his website. Thanks

Sending E-mail
could someone please help! I'm stuck. How do I link a button to an e-mail address?

Sending Mail
hi
i wud like to kno how to send mail to a specific email address WITHOUT using "mailto:". mayhaps sending from hotmail or yahoo or summat like that?? i saw it on a site somewhere but dont remember. u type in the addy of the recipient and click send mail. a new window opens asking for hotmail password and username. after verification, it goes directly to hotmail compose page. i wud appreciate it if anybuddy wud tell me how to or the site where it can be seen.

thanx

Sending An E-Mail?
I've seen the tutorial which shows how to set up a e mail form in FLASH.

What do I need to do to simply call a users host e-mail as with the HTML function "mailto:"

I assume I would use the getURL Action ?

Can anybody help?

Thanks

Sending Mail
ok, here is my problem. I have a simple little email movie, works great when I test it in flash works great when I do a publish preview but when I load it up it does not work?? here is the script I have used on my send button.

on (release) {
loadVariablesNum ("http://www.myaddress.com/cgi-bin/quickemail.pl", 0, "POST");
gotoAndPlay (10);
}

this is being sent to a perl script in my cgi bin. Now the movie that contains the email part is loaded on level 27 and I have changed the level from 0 to 27 but it still will not work right. No I can not place this in level 0 either.

Ok so what am I doing wrong today

Sending The Right E-mail
I have tried these action to send a mail with mail, subject and body:

getURL(mailto add name add "?subject=" add subject add "&body=" add Your_Message);

I works with Outlook Express, Eudora, but with Outlook on PC the subject and body goes to the same place that the e-mail appears.

There is a way to fix that using the GETURL command?

Sending An E-mail From Exe?
Hi Everybody
Something that's been puzzling me for a while - sending an e-mail from a exe, created in flash.
I should think that this:

on (release) {
getURL("mailto:jan@unwembi.co.za");
}

should do the trick. But no.

Hope there's an answer out there.
Thanks

j

Sending E-mail
Hi,

I've been looking through many tutorials on how to make a contact form, which sends e-mail directly to me whenever someone types stuff in it and clicks 'Submit'. Unfortunately, most of these tutorials are for AS2, and therefore don't work in AS3, so I've tried to modify the code with the limited AS3 knowledge that I have, and this is what I got:


Code:
import flash.text.TextField;

var msgsent;
var missing;
msgsent.visible = false;
missing.visible = false;
var addr;
addr.visible = false;
var contact_php_file = "flashEmailer.php";
var n;
var e;
var m;

send_btn.addEventListener(MouseEvent.MOUSE_DOWN, checkForm);

function validateEmail(address) {
// Check address length
if (address.length>=7) {
// Check for an @ sign
if (address.indexOf("@")>0) {
// Check for at least 2 characters following the @
if ((address.indexOf("@")+2)<address.lastIndexOf(".")) {
// Check for a domain name of at least 2 characters
if (address.lastIndexOf(".")<(address.length-2)) {
// If all the above tests pass, the email address is in valid format
return true;
}
}
}
}
// Called if the email fails
return false;
}

function checkForm() {
n = form.name_txt.text;
e = form.email_txt.text;
m = form.msg_txt.text;
if (m != "" && e != "" && validateEmail(e)) {
sendEmail(n,e,m);
} else {
gotoAndStop(5);
}
}

function sendEmail(n, e, m) {
var session;
session = "?nocache="+Math.random();
var contact_lv = new URLLoader();
contact_lv.name = n;
contact_lv.email = e;
contact_lv.message = m;
contact_lv.key = "email";
trace(n+" - "+e+" - "+m);
contact_lv.load(contact_php_file+session,contact_lv,"POST");
contact_lv.onLoad = function(success) {
if (!success) {
return trace("Error calling PHP File!");
} else {
gotoAndPlay(10);
}
}
trace("did it work?");
}

stop();


The compiler doesn't complain, so I assumed it would do SOMETHING, but after my movie loaded and I went to my contact us section, this came up in the output (without me typing anything in the text fields or clicking submit):

TypeError: Error #1010: A term is undefined and has no properties.
at sushisho_fla::email_36/sushisho_fla::frame1()

I checked line 36 and all it is is the variable declaration for name:


Code:
Line 36: n = form.name_txt.text;


I am absolutely stumped. Anyone?

Sending Mail With PHP Help
I tried this tutorial but it didn't work, it didn't send my e-mail and also it didn't go to message failed or message sent.
This is what I did on actions-
Code:

stop();

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://blez.coldcave.com/send.php",receiveLoad);
}

receiveLoad.onLoad = function() {
   if(this.sentOk) {
      _root.gotoAndStop("success");
   }
   else {
      _root.gotoAndStop("failed");
   }
}
And this is what i did on send.php-
Code:

<?PHP

$to = "belz_e3@hotmail.co.uk";
$subject = "Belz-Production Has Recieved An E-mail";
$message = "Name: " . $theName;
$message .= "
Email: " . $theEmail;
$message .= "

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

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

echo "sentOk=" . $sentOk;

?>
Can you tell me what I did wrong please.

Sending Mail With PHP
I have followed the tutorial to the letter, and tested the fla through flash and I get, message sent, but after uploading it to my website, I fill out the & it gives me the "message failed" text after clicking the button.
this is the code
This is my code php
<?php

$to = "solis@lamejormagazine.com";
$subject = "Forma para Suscripcion";
$message = "Name: " . $_POST['theName'];
$message .= "
Email: " . $_POST['theEmail'];
$message .= "

Phone: " . $_POST['thePhone'];
$message .= "


Message: " . $_POST['theMessage'];
$headers = "From: " . $_POST['theEmail'];
$headers .= "
Reply-To: " . $_POST['theEmail'];

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

echo "sentOk=" . $sentOk;

?>


& this is the code
stop();

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

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

receiveLoad.onLoad = function() {
if(this.sentOk) {
_root.gotoAndStop("success");
}
else {
_root.gotoAndStop("failed");
}
}

SO i GET THE MESSAGE "MESSAGE FAILED" ANY BODY KNOWS HOW TO FIXIT???

PHP MAIL NEVER SENDING
ok i know this has been a huge discussion about the tutorial on sending mail through php, but i have a problem that no one else seems to have. every time i test my movie, i always get my "message did not send" scene along with no email. it has never said message was sent suceesful. and if i test the movie in flash, it always says "cannot find url (http://www.mywebsite.com/send.php)" in the output window.

I have the send.php file right on the main directory of my server, right next to where my index.html file is and all my swf's. and i have changed the url in the actionscript. but still it never wants to find it. is this a godaddy thing? (thats my server). do i need to set up something in order to use php on my server? I'm so confused. Thanks ahead of time!!!!!

Sending Mail With PHP
Hi!!

I made the tutorial, and he function well!

I have the a problem whith this:

1?- I have swf where this represented the mail, when I tested functions pretty!

Code of actionscript:

Code:

stop();

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.idesign.pt/teste/sent.php",receiveLoad);
}

receiveLoad.onLoad = function() {
   if(this.sentOK) {
      _root.gotoAndStop("success");
   }
   else {
      _root.gotoAndStop("failed");
   }
}


2?-I have another one swf, that he is the master, who contains to holder, and in this holder he goes to open swf "mail", so that it does not function when I try to send the mail!

He will be for having:

Code:

receiveLoad.onLoad = function() {
   if(this.sentOK) {
      [u]_root[/u].gotoAndStop("success");
   }
   else {
      [u]_root[/u].gotoAndStop("failed");
   }
}

_root???!!!

What I have To make?

Thanks Everyone!!!!!! :wink: :D

Sending Flash In E-mail
Here's a newbie question... I want to send an e-mail with a link that will automaticaly open a Flash movie. How do I do this?

Thanks

Actions For Sending Mail
I need to assign to a symbol the action of sending a mail when pressed. I have a button that says ´contact us´ and I want to open outlook express and put an specific e-mail address, when the button is pressed.

Need help

thanks

Problems With Sending Mail
Hello,

I have a flash web page, but my ISP don't let-me put there cgi-bins, ASP or PHP. I have a form build with flahs and i can't send the forms results by e-mail.

I know that exists some cgi-bin in the internet that we can use, but i don´t find them.

Can you help me sending a e-mail in a flas web page?

Thanks

Sending Info To E-mail Box
Hi everyone! I am a beginner so don't mind me. I need to find out how I can send information (like text) that somebody would inter into text box to particular e-mail adress. I'm trying to create an info form that user can fill out and by hitting send button send it to the particular e-mail box. Also, how can i create castom check buttons that when it checked it would also send certain info to the particular e-mail box.
Thanks for your time.
Pete

Sending Info To Mail Box
I still do not get it. If I have bunch of text fields and I want the user fill them out and then by clicking the button be able to send the info to particular mail box, can I send the info directly to the box? Or I have to send it to CGI first that will send it to the barticular address? In both cases what code do I use exactly and do I have to get the CGI code from the server administrator? Could you guy explain it in more detailes?

Thank for your time,
Pete

Sending E-mail From Flash
Does anyone now the script to send an e-mail when a button is clicked (mailto:harkhark)? I have a feeling I'm asking a stoopid question here...

Sending Vars In E-mail Through PHP
I am trying to take some variables (input texts in my swf) and e-mail them through PHP. I have tried it the old (Flash 5) way and the new (MX) way and can't seem to get it. I would like my swf to work with the Flash 5 player so I may want to do it the old way. But here is my script. Thank you for your help.

FLASH 5 METHOD
loadVariablesNum("email.php",0,"Post");

FLASH MX METHOD
var c = new LoadVars();
c.to = "dshacket@believethis.org";
c.from = "shacket@juno.com";
c.subject = "MEMBERSHIP INQUIRY FROM WEBSITE";
c.message = "The following person just filled out the Become a Member page on the website:";
c.message += name + "/n" + company + "/n" + address + "/n" + phone + "/n";
c.message += email + "/n Comments: " + comments;
c.send ("email.php","0","POST");

PHP SCRIPT
$to = $HTTP_POST_VARS['to'];
$from = $HTTP_POST_VARS['from'];
$subject = $HTTP_POST_VARS['subject'];
$message = $HTTP_POST_VARS['address'];
mail("$to","$subject","$phone$message", "From: $from");

(I have tried it with and without the $HTTP_POST_VARS lines)

Sending Mail From Flash 5
Can anyone tell me the way by which I can send email from flash form without using mail client on my machine. I think ASP can be used for that with flash form in the front end. Please help

Thanks
Narendra

Mail Sending Problem
Hello, I already asked tis in another forum, but maybe i was at the wrong place !

I have a form in flash and want to send the data with e-mail, not php cgi or asp, just plain simple e-mail!

this aint a prob until i tested it!

getURL("mailto:mail@mail.com?subject=test&body="+B odytext);
etc.
where Bodytext is a variable declared as, "name: "+formfield1+"
surname: "+formfield2;
etc.
now here i get my problem
i get name: Billsurname: Gates
instead of
name: Bill
surname: Gates

i tried

%0A
none of them seems to works, except on my mac in outlook express!

tnx in advance, hope somebody could help me out with this !

Sending Swf Files Through E-mail
Hi guyz... and gals..
I've got a big problem these days... never had this problem earlier though. I'm not sure if I had it earlier for I never had feedback.
The problem is...
I'm working with FLASH MX. The past couple of weeks.. I've been trying to send a few files (swf) to people through e-mails. Problem is that the people at the other end aren't able to view the swf files.
I mean.. inspite of them upgrading their flash player to the 6 version at macromedia.com they aren't able to view the file.
I'm not embedding the swf file into any html file. But I'm transferring the swf file to them.
What really hits me is that when I transfer the same file through any instant messenger (yahoo messenger in this instance) the client is able to view the file without any problems?
Does anyone have a proper answer to this... Firstly I need to know why it wouldn't work when I send it as an attachement to a mail and second why does it work when I transfer the same through messenger? Third, WHAT IS THE SOLUTION FOR THIS. Do I have to unprotect (from import), or publish it in someother way. Kindly help.. for I'm running short of time!... and I don't wanna load the end user with an EXE for obvious FILE SIZE!

Sending Flash Via Mail
hey anyone, i need some help on how to send a flash animation by mail, so when the person who recieves it opens the mail, the animation will automatically start.

please help me, Im stuck

I will really appreciate any kind of help, thanx...

Sending An Animated Mail
Please help, anyone, im stuck, i have a presentation that i have to send by mail. I want it to start playing as soon as the recipient opens the mail, how is this done, please help me, I´ll be eternaly grateful, thanks

santiago

Sending Text To An E-mail
Basically what i need is for a user to fill in 2 bits of information, then send it too my e-mail account, so i have two input boxes and a button.

One is User name one is a password

Then when they click the button it sends both infomation in english (cos password is ******ed out) to my e-mail account.

Help!

its kinda urgent too!

Instant E-mail Sending
Hi everyone, i need a big favour,

does any one know how to send an e-mail aoutomatically from flash with a click of a button, i do have more information to do with this, visit my other thread to find out more, to visit it click here

Instant E-mail Sending
Hi everyone, i need a big favour,

does any one know how to send an e-mail aoutomatically from flash with a click of a button, i do have more information to do with this, visit my other thread to find out more, to visit it click here

Sending Mail Via Flash Using PHP
I've got a simple email form setup in Flash...each field has a variable name set and at the end of the script - for submission - I'm using:

loadVariablesNum (mailform, 0, "POST");

Where 'mailform' points to a URL where my PHP file is located. This of course takes place after form validation, etc.

My server is set up for PHP. I've checked the log files, and flash DOES execute a POST of the variables. The PHP file works by itself if I edit it and hardcode each variable (providing a To, From, Subject, Body etc.).

The problem is that it seems that flash doesn't actually talk to the PHP. It's as if they're just not making the connection. I based my form on "form mailer 2" from 'the lab' at www.bigjolt.com (also available here in the 'Movies' section), and if I use that form on his site, it works. If I download and export his FLA and use his form and PHP on my server, it doesn't.

Do I not have something configured properly? Every technote, tutorial, and sourcefile I've read/tried uses loadVariablesNum to post and that's basically it, as long as everything is pointing to the right place and PHP is enabled.

Thanks,
Kevin

Sending E-mail From A Projector
I have a projector in a CD and in the contact us page theres a link to send an email. but it is not working properly, it always give an error with some kind of .dll file (hmmapi.dll).
does anyone know how to set a correct "mailto" code from a projector.
id really appreciate it
thanks in advance
Juan

Sending Card To E-mail
Hello,
can anyone here please recommend me how to or where to find a tutorial on sending some files from webpage to an e-mail that you specify ? I want just visitors to type in their e-mail to send them bussiness card from my site ..
Any help is welcome ..

Sending Mail From Flash Using PHP
hi everyone, in setting up a contact form in flash, which seems to work great. except when it comes the text formating or charset in the PHP on server side, this has to be in norwegian with support for "æøå" characters, so i use ( or try to)

$header .= "Content-type: text/html; charset=UTF-8" . "
";

and also the same in

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

this does not seem to work and neither does it work when i set it to

$header .= 'Content-type: text/html; charset=iso-8859-15' . "
";

or

$header .= 'Content-type: text/html; charset=iso-8859-1' . "
";

both also in the meta tag... what am i doing wrong guys???

been using days on this now, and im just getting more confused..

im using flash 8, and my php documents have created/saved with either UTF-8 or with westeuropean as default encoding... HELP please...

also i think i should say that if i trace the output from flash it shows the characters as they are supposed to be (æøå)

my hole php is like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
<title>Untitled Document</title>
</head>

<body>
<?
if(!empty($_POST['visitor_email'])
|| !empty($_POST['visitor_comments'])
|| !empty($_POST['visitor_name']))
{
$to = "tkf@pixeldynamics.no"; // replace with your mail address
$s_comments = $_POST['visitor_comments'];
$s_name = $_POST['visitor_name'];
$s_email = $_POST['visitor_email'];
$s_firma = $_POST['visitor_firma'];
$s_phone = $_POST['visitor_tlf'];
$subject = stripslashes($_POST['visitor_firma']);
$body = stripslashes($_POST['visitor_comments']);
$body .= "

---------------------------
";
$body .= "Mail sent by: $s_name <$s_email>
";
$body .= "Phone: $s_phone
";
$header = 'MIME-Version: 1.0' . "
";
$header .= 'Content-type: text/html; charset=iso-8859-15' . "
";
$header .= "From: $s_name
";
$header .= "Content-Transfer-Encoding: 8bit

";
$header .= "Reply-To: $s_name <$s_email>
";
$header .= "X-Mailer: PHP/" . phpversion() . "
";
$header .= "X-Priority: 1";
if(@mail($to, $subject, $body, $header))
{
echo "output=sent";
} else {
echo "output=error";
}
} else {
echo "output=error";
}
?>
</body>
</html>


really need some help, would be ever greatful

Sending Mail With PHP Problem
Alright, I made a movieclip where you can mail me a comment using PHP. The problem I have is that I can't my movie to go to the frame where I have a success message when then mail is sent. I followed a tutorial but in the tutorial, everything is on the main timeline and not in any movieclip instances. This is the code that I'm using...


Quote:




stop();

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

send_btn.onRelease = function() {
senderLoad.theName = theName.text;
senderLoad.theEmail = theEmail.text;
senderLoad.theMessage = theMessage.text;
senderLoad.sendAndLoad("http://mysite.com/send.php",receiveLoad);
}

receiveLoad.onLoad = function() {
if (this.sentOk) {
this.comments_mc.gotoAndStop("success");
}
else {
this.comments_mc.gotoAndStop("failed");
}
}




I think the problem is in the "receiveLoad.onLoad = function() {" section.

The movie that I have this code in is inside of a movie, so how would I point it to the success frame?

Sending Mail With Php - Why Not Working?
Using this code in Flash to send my form data... but it's not working. Do I miss somethis obvious here? I can upload the php-script too, if needed.

stop();

//------------- send form ---------------
function sendForm () {
message.from = emailForm.userName.text;
message.email = emailForm.userEmail.text;
message.comments = emailForm.userMessage.text;
message.sendAndLoad("_php/feedback.php?ck=");
gotoAndStop("correct");
}
//------------- /send form ---------------

//--------------- tabbar ---------------
emailForm.userName.tabIndex = 1;
emailForm.userEmail.tabIndex = 2;
emailForm.userMessage.tabIndex = 3;
//-------------- /tabbar ---------------

//-------------- buttons -----------------
emailForm.skickaMC.onRelease = function () {
if (emailForm.userName.text == "" ||
emailForm.userEmail.text.indexOf ("@") == -1 ||
emailForm.userMessage.text == "") {
gotoAndStop ("error");
} else {
sendForm ();
gotoAndStop ("correct");
}
}

emailForm.rensaMC.onRelease = function () {
emailForm.userName.text = ("");
emailForm.userEmail.text = ("");
emailForm.userMessage.text = ("");
}
//------------- /buttons -----------------

Sending Mail From Flash 8
Hi,

I am working on a demo flash presentation

There is a link when you click on that it should open in outlookexpresss

I am using this script

on (release)
{
getURL(mailto:theemail address, "_blank");
}

It not working on flash 8

help plz

Sending Mail With Attachment
hi

i have created a simple drawing tool in flash. i want to give it onmy web site for comptition of drawing, when any user draw & complete its own drawing, he click on a button of send email & that drawing which user creatd should mail to my email, plz tell me how i can do this...

Sending Card To E-mail
Hello,
can anyone here please recommend me how to or where to find a tutorial on sending some files from webpage to an e-mail that you specify ? I want just visitors to type in their e-mail to send them bussiness card from my site ..
Any help is welcome ..

Sending Information To E-mail
hi, i am just figuring out this whole action script thing, and i was wondering how i can make it so that a person will fill out a certain field, such as "User's Name" and then click a button, which will both take them to the next part of the scene, and also e-mail me the information that they put in the field "User's name" thanks for your help

AAAHH HELP,,sending Mail W/php
I just completed Lee's tutorial upon testing it I'm not getting the email,, flash confirms it was sent :? here is my code in the actions layerCode:

stop();

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://mydomain.com/mail/send.php",receiveLoad);
}

receiveLoad.onLoad = function(){
   if(this.sentOk) {
      _root.gotoAndStop("success");
   }
   else {
      _root.gotoAndStop("failed");
   }
} and my phpCode:

<?PHP

$to = "contact@mydomain.com";
$subject = "Flash Contact Form Submission";
$message = "Name: " . $theName;
$message .= "
Email: " . $theEmail;
$message .= "

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

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

echo "sentOk=" . $sentOk;

?> I was hoping maybe more sets of eyes might help see what I did wrong :wink: thanks for taking a peek and trying to help! 8)

Sending Mail With PHP Video
Hi there Guys, I am having a small problem with sending mail via PHP in flash 8 I have watched the video in the tutorials numerous times but cannot seem to find where I am going wrong.

http://www.gotoandlearn.com/player.php?id=50

My contact form sends me an email with the the headers,

Name:
Email:

Message:

But I am not getting the contents of the input boxes. I have checked my server an made sure that PHP is allowed and turned on. Still no joy, any information would be greatly appreciated.

Regards,

Rich Lacey

Sending An E-mail On Click.....without Writing It
hi thank u for reading this.I've got to make a button send an e-mail...directly, without opening outlook express.
this would happen after a form is filled, and the e-mail should contain the filled form, or the variables, or whatever can make me understand how the form was filled.
If that's not possible, how can i know what people wrote in it?
please help me thanx!!!

Sending Form Results Via E-mail
Hi All,

I am doing a Flash site and need to send the results of my user input to an e-mail address. I have tried and tried to get it to work and can't seem to get it. Here is the actionscript that have attached to the send button:

on (release) {
subject="comments";
recipient="dkaff@yahoo.com";
mailto="dkaff@yahoo.com";
gotoAndPlay("transmit");
}

Can someone offer a suggestion?

Thanks,

David

Sending An Exe By E-mail (using External Data)
Hi to everybody!
I need a little help to send an exe flash file by e-mail who contains external photos and txt files.
What is the best way to do this?
I always do it in webpages using loadMovie, but I never send it by e-mail... and I don't know what to do with the external data....
any ideas?
thanks before-hand!

Sending Form Data To E-Mail
Hello there everyone, I've been making a web site in Flash for a client and now they want a simple Question/Comment Form that sends the information to an e-mail address. Now, I know how to make a form in Flash, but I'm not to sure of how to send the info to an e-mail.

Dose anyone out there know of an easy way to do this?

Thanx

Targating Alert Box, Sending Mail
hello,
i hav set up a mail form (flash/php) and i hav a box that shows like an alert thing incase you miss 1 of the boxes but i hav got a targating prob i think cos i pretty sure the script is right.

on main TL i got a movie called shortnav and within in that is my mail form on 1 of the frames, within the shortnav MC i got the code

stop();
_root.shortnav.form.alert = "we will get back with you shortly.";
(the alert box is within a MC called form.)

so when the frame is hit the alert box shows the text (we will get back with you shortly) ,that works fine.

when some1 dont fill in a box i want the text to change to such N such so on my submit button i got the script


on (release) {
if (_root.shortnav.name eq ">" or _root.shortnav.message eq ">" or _root.shortnav.email eq ">") {
_root.shortnav.form.alert = "Please Fill All Fields";
} else {
_root.loadVariables("email.php", "POST");
_root.shortnav.form.alert = "Processing . . . , please wait";
}
}


when i click the button it is submitting the mail even if the boxes r empty,
the Processing . . . , please wait shows up aswell but my Please Fill All Fields aint workin


can an1 please help

Utf And Latin-1: Sending Mail Through Flash And Php
How to unify the encoding of the text?
eg: part which is written in php file looks ok, no strange symbols but part in flash look like rubish.


Code:
<?

header("Content-type: text/css; charset=iso-8559-1");
$msg .= "Imię: $sender_name
Ä™";

$to = "$receiver";

mail($from, $to, $subject, $msg, $mailheaders),;


?>

I Don't Want To Open Browser While Sending Mail With Asp
Hi;

there are sending mail form in interaktive cd. But I press the send button, browser is open. I use this code:
on (release) {

getURL("http://www.isdssadsad.com/send.asp"_blank", "GET");
}
How can I put the lid opening browser or which method can I use? thanks..

Sending E-mail With Accented Characters
I use this code, found in the forum, to open Mail and send an e-mail, it works well


Code:
var helpEmail:String="mailto:help@mysite.com?subject=Help%20Request%20For%20Product:%20KX&body=Product:%20KX%0DConcise%20problem%20statement:%0DSteps";
var requestEmail:URLRequest = new URLRequest(helpEmail);
navigateToURL(requestEmail);
BUT, I need to send the same mail with accented characters, and then it does not works.


Code:
var helpEmail:String="mailto:help@mysite.com?subject=%E9l%E8ve&body=Product:%20KX%0DConcise%20problem%20statement:%0DSteps";
var requestEmail:URLRequest = new URLRequest(helpEmail);
navigateToURL(requestEmail);
In my example
subject=%E9l%E8ve is for
subject=élève

every accented character éèà… in the subject or body message leave it empty
Have you an idea.
Thanks

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