Sending Email With PHP And Flash
Hello all. I am needing some help the the sending email with php tutorial that is on the gotoandlearn.com site. Here is the thing. I have used it successfully but I would like to us the script to dynamically send an email to who ever the user enters. Basically I want a user to be able to put in a friends email address and the script send it to whatever email address is put in the form.I took the code from the PHP file the Lee uses in the tutorial and tried to create a variable in flash and then send it to the PHP script like this.$to = "theFriendEmail";the server will not send it to anything I get a big fat error message.any suggestions?thanks,Matthew :shock:
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Help With Sending Email Via CGI In Flash
Hello,
I have created a form where the user enters their name (variable=name) and department (variable=dept) into a form.
Once they get to the end of the movie I want them to click a button and submit the 2 above-mentioned variable to me.
I'm having problems getting this to work.
Here's the script I'm using on the submit button:
on (release) {
subject = "OSH Work Book ";
recipient = "email@address.com";
loadVariables ("/cgi-bin/formmail.pl", 0, "POST");
nextFrame ();
}
It doesn't work -- but I've tested out a HTML form in the same directory using the following which DOES work:
<FORM METHOD="POST" NAME="form" ACTION="/cgi-bin/formmail.pl">
<input type=hidden name="recipient" value="email@address.com">
<input type=hidden name="subject" value="OSH Work Book">
I don't see where I went wrong ... can anyone tell me why this isn't working?? How does the line 'loadVariables' automatically know to send 'name' and 'dept'? Is there a step that I've forgotten anywhere? Do I need to change something in formmail.pl?
Any help is greatly appreciated!
Glenn
Sending Email Within Flash MX
I’d like to be able to have the user click on text or a button within my Flash site that would open the user’s default email program.
How can I do this?
If this can’t be done, than how can it be done in much the same way that HTML does using <form action=”mailto:emailAddress@somewhere.com” method=”post”>?
I’d rather not have to use components but if this is the only way then I will.
I’m using Flash MX to design my site.
Thank you
Sending Email With Flash
is it possible to do a:
on(release)
:get information from a input text...thing then put the infor in the email then send it to the same adress every time........
and i have a
_______
name:|_______|
_______
password:|_______|
_______
email:|_______|
could i make the email say request for
user name from the text field)
password from the text field)
Sending Flash Email
How do I send my flash to someones email. As if its an advertisement and not a link to something? Basically, it's like an e-invite to someone. I'm lost with this one, someone please help! Thanks!!!
Flash Email Sending
Hi everyone!
I'm trying to build a form kinda thingi(input field, and a submit button) in which users can write stuff, and it'll be mailed to me. I know about making email links using the getURL thingi, but this is different. I've seen it on many websites... so hopefully someone will be able to help me... Thanks,
Qasim
Sending Email Through Flash?
is it possible to send email through flash, if so can someone teach me, and please don't go over the firewall stuff because I already know about the trouble.
Sending Email With Flash
I want to be able to send an email within a flash application. How would I do that? Is it complicated or even possible? If that's too hard, what would be the easiest way for someone to send me information from a flash program
Sending An Email From Flash MX
Has anyone been success in sending an email from within Flash MX? I am trying to launch the email client & being able to add a subject & body information. I have been trying all kinds of combinations with no luck
Also, I have an input box labeled recipient so when I launch the mail client I want the recipient email address to automatically appear in the To line.
Thanks in advance for any help.
Deb
Sending Email With Flash
Hey gurus,
I want to create a simple site that has an input textfield where the user inputs their email address... and then on "submit" Flash will automatically send the webmaster an email with user's email address in the body .. or subject.
Basically, its a band website, and I want to have people sign up to get on the email list.
Ideas?
Sending Email W/ Php From Flash
all my vars are in the same level and i have this script:
on (release) {
httpRequest = "";
httpRequest = httpRequest+"email="+email+"&";
httpRequest = httpRequest+"name="+name+"&";
httpRequest = httpRequest+"message="+message;
loadVariablesNum("http://www.qream.com/email.php?"+httpRequest, "");
gotoAndPlay(15)
}
heres my php:
<?php
$v = $_REQUEST;
$email=$v["email"];
$name=$v['"name"];
$message=$v["message"];
$to = "keane@qream.com";
$subject = "PR Inquiry from website";
$message = "<b>name = $name</b><br>
<b>email = $email</b><br>
<br>
$message<br>";
$message = stripslashes($message);
$headers = "From: "$email" <pr@qream.com>
";
$headers .= 'MIME-Version: 1.0' . "
";
$headers .= "Content-type: text/html; charset=iso-8859-1
";
$headers .= 'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
?>
sometimes it works, sometimes not. i dont know if its the gotoandstop at the end of the as, or what. because when i remove that it works, but the "onclipevent (data)" doesnt work when i try and apply it to this mc...totally at a roadblock. would love any help i could get
Sending Email From Flash
I don't know why this won't work, but I have a cold fusion page
http://www.mysite.com/email.cfm
I send the variables via the query string (When I test this page in the browser window it works fine.
In my flash movie when a user clicks the send button I execute this code:
_root.vars.FName = _parent.FName.text;
_root.vars.LName = _parent.LName.text;
_root.vars.Email = _parent.Message.text;
_root.vars.Message = _parent.Email.text;
loadVariables("http://www.mysite.com/email.cfm", _root.vars, "GET");
Vars is a clip that is set up and has the instance name vars in the root. I can trace _root.vars.FName from this code and get the First name that was entered.
It never works. I just want to send these variables to the email. Is there an easier way. I always get this error message:
"http://www.mysite.com/email.cfm?tfList=%5Bobject+Object%5D&invalidateFla g=false&%5F%5FlabelPlacement=right&%5F%5Ftoggle=fa lse&enabled=true&%5FminHeight=0&%5FminWidth=0&%5F% 5Fwidth=100&%5F%5Fheight=22&stylecache=%5Bobject+O bject%5D&useHandCursor=false&rolloverIcon=falseUpI con&childrenCreated=true&initializing=false&upSkin =%5Flevel0%2EcClip%2Einstance46%2Efus&skinName=%5F level0%2EcClip%2Einstance46%2Efds&methodTable=&pha se=down&rolloverSkin=%5Flevel0%2EcClip%2Einstance4 6%2Efrs&downSkin=%5Flevel0%2EcClip%2Einstance46%2E fds"
Why God? Why!
Sending An Email Using Only Flash
Ok, I want to make an application that contains several questions (in flash). Underneath the questions contains Input text fields that you put the answers in. Then down the bottom i want to have a button that when pressed sends the answers that were just filled in to my email address. Is it possible to do this without resorting to creating a website, using PHP, and without the person doing the quiz knowing. Also I want it to simply be an attachment in an email that i can send out to others. Is this possible?
Thanks!
[F8] Sending Email From Flash
I have been following the Training from the Source tutorials relating to sending feedback via email on a contact page. The Actionscript provided was:
bSend.onRelease = function() {
var targetLoadVars:LoadVars = new LoadVars();
var myLoadVars:LoadVars = new LoadVars();
myLoadVars.emailFrom = tiEmail.text;
myLoadVars.emailTo =tiEmailTo.text;
myLoadVars.subject = tiSubject.text;
myLoadVars.message =taMessage.text;
myLoadVars.sendAndLoad ("http://www.flash-mx.com/ws/submit_feedback.cfm", targetLoadVars, "POST");
targetLoadVars.onLoad = function() {
trace(this.success);
};
gotoAndStop("thankyou");
};
I contacted my hosting company (Bluehost) to ask them what http address I need to use in place of the flash-mx.com address above and they said they do not support Coldfusion as they run linex. They said they support perl or asp but could not provide any further advice.
Can anyone help me?
Many thanks.
[F8] Sending Email In Flash Using PHP
Hello.
I am creating a game and on one scene it is specialized for "reporting a bug" inside the game where if the player has discovered a bug or glitch in the game, he/she can click the button, type in the bug information, click send and an email will be sent to an email address (in this case - being my email address).
I have tried following the instructions on how to send emails using fash through PHP on http://www.kirupa.com/developer/acti..._php_email.htm. However, I needed to make a few modifications to the example in the tutorial to suit my situation. In the example in the tutorial there are mutltiple text boxes which submit the name, email address and message by emailing.
Where as my game, there is only ONE text box needed. This text box is where the player types in the description of the bug she/he has encountered.
When I try to test out my script. It does not send me an email. Please keep reading to see what kind of situation I am in. You will find the flash actionscript plus the PHP script and hopefully you can look them over to see what is wrong.
I have a movieclip on stage with an instance name of "form". Inside this movieclip there is one text box. The text box's instance name is "body_txt" and the text box's var is "message".
On stage, I also have a send button for the player to press after he/she has typed in the description.
This is the code found on the button:
Code:
on (release) {
form.loadVariables("http://impossiblequiz.4000webs.com/email.php", "POST");
}
The URL inside the actionscript is where my PHP page is located.
This is the PHP script in the email.php page:
Code:
<?php
$sendTo = "altherat@gmail.com";
$subject = "A Truly Impossible Quiz - Glitch Submitted";
$headers = "From: " . $_POST["firstName"] ." ". $_POST["lastname"] . "<" . $_POST["email"] .">
";
$headers .= "Reply-To: " . $_POST["email"] . "
";
$headers .= "Return-path: " . $_POST["email"];
$message = $_POST["message"];
mail($sendTo, $subject, $message, $headers);
?>
I took this script directly off of the tutorial I read but realize I do not need all of it because I only have 1 text box instead of three as in the tutorial. I did change the email address to my own and changed the subject but I left everything else how it was.
I thought that it doesn't matter if I left the other PHP codes in the script because it just wont send the name and email because I did not include those variables in my game. (It's kind of hard to explain when your 14 years old and your a noob to actionscript and have never looked into PHP...)
Anyways... one of my problems is what to remove from the script to make it as simple as possible and only to send the subject and the message. I could guess but i'd rather it be told from someone else besides me that has never studied PHP.
As I said before, when I test it out, the email does not get sent.
Also, my game is on my computer. Does it have to be uploaded on the internet for it to send the email?
Thanks to whoever replies!
Sending EMail From Flash MX
Hi Guys,
can anyone direct me to a pre a tutorial that goes over sending e mail from a Flash movie.
thanks
Q
Sending Email From Flash 8
I have been following the Training from the Source tutorials relating to sending feedback via email on a contact page. The Actionscript provided was:
bSend.onRelease = function() {
var targetLoadVars:LoadVars = new LoadVars();
var myLoadVars:LoadVars = new LoadVars();
myLoadVars.emailFrom = tiEmail.text;
myLoadVars.emailTo =tiEmailTo.text;
myLoadVars.subject = tiSubject.text;
myLoadVars.message =taMessage.text;
myLoadVars.sendAndLoad ("
Sending Email Using Flash
Hello friends,
I am right now stuck with a deep problem with this flash.. Please anyone out there who can give me a solution please help..
Here I am directly stepping into my problem..
I have a mailer, which is build in flash, which consists of the fields, Senders Name, Senders Email, Friends Name, Friends Email, and Message. The User will complete all the fields, and when clicking on the send button, the email will be delivered. I dont know PHP so that i am right now confused how to make it.. anybody out there, please help..
the example of the work i am doing is in www. toneskincare. com Please open the link FEARLESS FW and please see how it works.. i need it in the same way.. so please be kind to help me out in this..
Regards
Neeraj Bhas
[FMX]Sending Email From Flash
Hi,
I have a email form in Flash that works perfect exept for the message text. When receiving the email all text in the message field is in one big line without any spaces. What am I doing wrong?
Thanks in advance,
Donald
Sending Email In Flash
i want to have a text box, where the user can input text & a email address & have the message to that email...any ideas on how this is done. im really stuck.
Help With Sending Email In Flash
how do i make an application form in flash ne tutorials???
this is and example of what i want
go to this url and click on contacts i want a form like that
http://www.templatehelp.com/aff/prev...tes.php&i=9048
Sending Email From A Flash Exe
hello. i have a question. (duh)
i am trying to open the user's default email program on the click of a button, and it's not working! i jsut did the mailto:blahblah@myemail.com
is this not possible or soemthing?
is there a better way to send email from an exe?
thanks
[FMX]Sending Email From Flash
Hi,
I have a email form in Flash that works perfect exept for the message text. When receiving the email all text in the message field is in one big line without any spaces. What am I doing wrong?
Thanks in advance,
Donald
Sending Email Within Flash MX
I’d like to be able to have the user click on text or a button within my Flash site that would open the user’s default email program.
How can I do this?
If this can’t be done, than how can it be done in much the same way that HTML does using <form action=”mailto:emailAddress@somewhere.com” method=”post”>?
I’d rather not have to use components but if this is the only way then I will.
I’m using Flash MX to design my site.
Thank you
Sending Email In Flash
i want to have a text box, where the user can input text & a email address & have the message to that email...any ideas on how this is done. im really stuck.
Sending Email With Php And Flash 8
i have a project im making a flash version 8 a lot of my code will only work in flash 8. one important thing in this project is sending an email via php. nothing is wrong with my php file, ive tested enough to figure that out, so...
i have 2 input fields in flash with var names of email and name.
then the user clicks submit and this code is executed...
loadVariablesNum("myfile.php", 0, "POST");
this will run the php file, but won't post the variables and i THINK its because its published for version 8. so is there something else i can possibly do to esnd emails in flash 8?
Sending Email With Flash And .php
hi everybody.
i've made a form in flash to be filled out:
http://campjohn.dk/ski_mailtest.html
it's quite simple,
you fill in your name, company and email-adress and press "send"
this is the actionscript:
-------------------------------------------------------------------
Code:
stop();
//this will send information
var senderLoad:LoadVars = new LoadVars();
//this will load information
var receiveLoad:LoadVars = new LoadVars();
//script for the button
sender.onRelease = function(){
if (theName.text=="" || theCompany.text==""){
trace("nothing is written!");
} else if (theEmail.text.indexOf("@") < 0 || theEmail.text.indexOf(".") < 0 || theEmail.length < 6){
trace("incorrect email");
} else {
senderLoad.theName = theName.text;
senderLoad.theCompany = theCompany.text;
senderLoad.theEmail = theEmail.text;
senderLoad.sendAndLoad("senderTest.php",receiveLoad);
}
}
receiveLoad.onLoad = function(){
if(this.sentOk){
gotoAndStop("success");
}
else {
gotoAndPlay("failed");
}
}
-------------------------------------------------------------------
as you can see, flash sends the info to a .php, that sends the email:
-------------------------------------------------------------------
Code:
<?php
$to = "fsa@konceptas.dk";
$subject = "Test af emailer";
$message .= "Name:
" . $theName;
$message .= "
Company:
" . $theCompany;
$headers .= "From: $theEmail";
$headers .= "
Reply-To: $theEmail";
$sentOk = mail($to,$subject,$message,$headers);
echo "sentOk=" . $sentOk;
?>
-------------------------------------------------------------------
so the .php gets all the data, but it's acting very strangely.
sometimes it sends the email, and the .swf goes to the "success"-label, and sometimes it does not send the mail, and
the .swf goes to the "failure"-label....
sadly i cannot tell why
what have i done wrong?
check out the .fla here:
www.campjohn.dk/ski_mailtest.zip
thanks in advance
felisan
Sending PHP Email Using Flash
Helpppp please.......i've tried a kirupa tutorial and it happened to be falty.
http://www.kirupa.com/developer/actionscript/flash_php_email.htm
does anyone know another one.....something i can stick on a send buttong and make it work.....help would be appreciated thanx.
[AS And PHP] Sending Email From Flash?
Hey i'm working on my portfolio at the moment which is a flash .swf file that i will email to people so they can see my work. I want to create a form inside it that you can type your name, reply address, subject and message and then email it to me without having to leave the flash or launch any new windows.
I know quite alot of php and AS but am a little bit unclear on exactly how to get them to work together in this way, would i just have a form that's action is the php file?
If someone could give me either a detailed walkthrough on how to acheive this or could link me either to a topic held on this forum or to another site that would be fantastic, thanks for your time
~tit
Sending Email Through Flash + Php
not sure if this is the right forum for this but here goes:
im sending out emails to a list of people from flash. a message and subject is typed out and then the message is sent in html format with php.
problem is...the message never breaks any of the new lines from the input text field that is the message content. everything always appears on one line
i tried using message = nl2br($message) but its a no go, still only displays one line.
anyone have any ideas as to how i can remedy this problem, im stumped here!
thanks
Sending Flash As Email
I have a client that is looking to send a flash Christmas card through email. In searching google I've seen alot of sites that say you shouldn't do it because some clients won't be able to open it etc. Any thoughts?
Thanks, Matt
Sending Email Within Flash MX
I’d like to be able to have the user click on text or a button within my Flash site that would open the user’s default email program.
How can I do this?
If this can’t be done, than how can it be done in much the same way that HTML does using <form action=”mailto:emailAddress@somewhere.com” method=”post”>?
I’d rather not have to use components but if this is the only way then I will.
I’m using Flash MX to design my site.
Thank you
Email Sending From Flash Form__please Help
Hi to everyone. I need your help in this problem:
I want to put in my flash a field where the user can wrote a email and after push "Send" button , flash file to send an email to the email address entered in that field.
Thank you,
Bogdan
Sending Email With Flash Form And ASP
What are the steps I need to take to make a simple form [ name and email address ] in Flash send data via an email message to someone?
I know PHP/Perl but just starting into ASP.
Sending HTML Email With Flash
I am trying to send an html email that has flash in it. 1/2 of the people I sent it to had no problems. The other 1/2 got the message: "Your current security settings prevent ActiveX from running..."
What is the solution?
Sending Email From A Flash Movie
hi,
I have a flash movie setup with a text field. I want people to type in their email address and send it to me via a submit button so that I can let them know when the site is live.
How do I do this? I assume I need to put an action on the button, but how do I make the connection to the text field? And what kind of action would I use?
cheers!
jen
Sending Email Messages In Flash
I need to have users enter text into a couple fields and on a submit have the text e-mailed all in Flash. Can anyone give me some direction?
Sending Flash Movie IN Email
hey are there any way's of sending a flash movie in an email?
without having them link to an outside page of course.
does it work out well?
is there a way to embed it in html where all viewers will be able to access it?
some viewers will be able to access it?
thanks.
Sending Flash Files In Email
I know this must be possible - but I just can't put it together...
I want to send out an email and put my flash created "ad" in the body where it's immediately viewable. (For a targeted marketing project).
I've seen a couple other companies offer this the service over the web - but I want to do it myself... can't be that tough, right?
(And, if the movie won't play on the recipients system because of a security rule - as long as I can get a static image up - great!)
Anyone?
Sending, Viewing Flash In Email?..
How do I send a Flash file via email -- I guess as a MIME element -- so that it is viewable and functions within the receipient's email client?
Thank you.
Philip
Help Sending Flash Form To Email
I'm trying to use a form in Flash and send the results to e-mail. I'm fairly new to Flash, so I don't know what actionscripting to use.
The form is located at www.cdidentalpc.com under Contact. Thanks for any help.
Sending An Arabic Email From Flash..
hello everyone,
im trying to send an arabic email from a flash contact form,, everything seems to work fine, but the recieved email is garbage..i'll post below the code on releasing the send button
Code:
on (release) {
//Now import the variables we
//need to send in this movie clip
sender_mail = _root.pages.Semail.text
sender_name = _root.pages.Sname.text
sender_subject = _root.pages.Ssubject.text
sender_message = _root.pages.Smessage.text
//all the vars we just imported
//will be sent via POST method now
loadVariables("sendmail.php",this,"POST");
//and when receives the answer from
//the server...
this.onData = function()
{
for(var a in this) trace([a,this[a]])
//ok, next frame
_root.nextFrame();
if(this.output=='sent')
{
// in case of success
_root.errTitle = 'Thank You.';
_root.errType = "Your message has been succesfully sent.";
} else {
//else
_root.errTitle = "Error!";
_root.errType = "Attention, an error occurred while processing your message. Please try again later.";
}
}
}
now the php code is
PHP Code:
<?
if(!empty($HTTP_POST_VARS['sender_mail']) || !empty($HTTP_POST_VARS['sender_message']) || !empty($HTTP_POST_VARS['sender_subject']) || !empty($HTTP_POST_VARS['sender_name']))
{
$to = "dr@humood.com";
$subject = stripslashes($HTTP_POST_VARS['sender_subject']);
$body = stripslashes($HTTP_POST_VARS['sender_message']);
$body .= "
---------------------------
";
$body .= "Mail sent by: " . $HTTP_POST_VARS['sender_name'] . " <" . $HTTP_POST_VARS['sender_mail'] . ">
";
$header = "From: " . $HTTP_POST_VARS['sender_name'] . " <" . $HTTP_POST_VARS['sender_mail'] . ">
";
$header .= "Reply-To: " . $HTTP_POST_VARS['sender_name'] . " <" . $HTTP_POST_VARS['sender_mail'] . ">
";
$header .= "X-Mailer: PHP/" . phpversion() . "
";
$header .= "Content-type: text/plain; charset=windows-1256" . "
";
$header .= "X-Priority: 1";
if(@mail($to, $subject, $body, $header))
{
echo "output=sent";
} else {
echo "output=error";
}
} else {
echo "output=error";
}
?>
it sends the email but i get garbage values,
any guidelines, suggestions or help will be appreciated,
Regards,
Noor
Sending Email From Flash Running On CD
Hi,
I'm doing a Flash project which runs from CD and needs to send a Form with User's input to a specific email address. But I can't get the Cgi, PHP or ASP on my server to process it. Can somebody HELP by showing me how to send email or form from Flash .swf on CD?
TQ
Problem Sending Email With Flash And CF
Hi!
I have a form with 3 input text on my flash project.
I have set each var property of each one as follow:
Name //user will fill in with his name
Email
Message
Then I have my button with this code:
on(release) {
if( Name.text == "" or Email.text == "" or Message.text == "") {
Status = "Enter some text in the fileds.";
Selection.setFocus("Name");
}else {
Status = "";
loadVariablesNum("flashmailform.cfm", 0, "POST");
gotoAndStop(52);
}
}
and in my coldfusion file I have this code:
<cfsetting enablecfoutputonly="Yes">
<cfmail from="#trim(form.Email)#" to="davares@earthlink.net" subject= "#form.Name# has sent you an email" port="25"
server="myserver" type="html">
<font size="2" face="Georgia, Times New Roman, Times, serif">
There has been a form submission on your site,here it is what they have to say:<BR><BR>
<b>Sender Name : #form.Name#</b><BR>
<b>Sender Email : <a href="mailto:#form.Email#">#form.Email#</a></b><BR>
Sender IP : #REMOTE_ADDR#<BR>
<BR>
<b><i>Message: <BR>#ParagraphFormat(Form.Message)#</i></b><BR>
<i>Message Sent : #DateFormat(now(),'mmmm dd,yyyy')# #TimeFormat(Now(),'hh:mm:ss tt')#</i>
</font>
</cfmail>
<cfmail from='Eduardo@EduardoTavares.com.br' to="#trim(form.Email)#" subject="Thank you for submitting our form"
server="myserver" port="25" type="html">
<font size="2" face="Georgia, Times New Roman, Times, serif">
<b>Whats Up #form.Name#,</b><BR>
<i>Thank you for submitting our Contact Form.We will contact you back within 24 hours.We also sent you a copy of what you submitted below.</i><BR>
<BR>
Thanks again!<BR>
<i><b>Eduardo Tavares</b><BR>
<a href="http://www.eduardotavares.com.br">www.EduardoTavares.com. br</a></i><BR>
<BR>
<b>Submission Receipt:</b><BR>
---------------------------------------------------------------------------------------<BR>
<i>Sender Name : #form.Name#<BR>
Sender Email : #form.Email#</i><BR>
<BR>
<B>Message:<BR>#ParagraphFormat(Form.Message)#</b><BR>
<i>Message Sent: #DateFormat(now(), 'mmmm dd, yyyy')# #TimeFormat(Now(), 'hh:mm:ss tt')#</i><BR>
</font>
</cfmail>
but it's not working.
When I do this #form.Name# I am taking the value from the input text box named Name right(with the var property set to Name)?
Sending Email From A Flash Site
Hi yall,
I'm working on a Web site which I created with Flash (interrested? See www.jeandenoel.net).
I'd like users to be able to send me comments by sending me email messages by clicking on a button.
This button should handle this job.
Well, I must admit I don't know how to do that.
Can anyone help me?
Thanks,
Jean
Trouble Sending Email From Flash
I just did this tutorial http://www.kirupa.com/developer/actionscript/flash_php_email.htm
and when it came time to send the mail it wasn't working.
So I tested the php script by itself on my localhost (so I could see if there was an error) and it came up with an error message saying "Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in _________________________(path to email.php file) on line 13."
does anyone know what I should do from here? Also, this is just my local server, what would i do on the client's server that it's going to?
Thanks a lot!
Problem Sending Email With Flash And CF
Hi!
I have a form with 3 input text on my flash project.
I have set each var property of each one as follow:
Name //user will fill in with his name
Email
Message
Then I have my button with this code:
on(release) {
if( Name.text == "" or Email.text == "" or Message.text == "") {
Status = "Enter some text in the fileds.";
Selection.setFocus("Name");
}else {
Status = "";
loadVariablesNum("flashmailform.cfm", 0, "POST");
gotoAndStop(52);
}
}
and in my coldfusion file I have this code:
<cfsetting enablecfoutputonly="Yes">
<cfmail from="#trim(form.Email)#" to="davares@earthlink.net" subject= "#form.Name# has sent you an email" port="25"
server="myserver" type="html">
<font size="2" face="Georgia, Times New Roman, Times, serif">
There has been a form submission on your site,here it is what they have to say:<BR><BR>
<b>Sender Name : #form.Name#</b><BR>
<b>Sender Email : <a href="mailto:#form.Email#">#form.Email#</a></b><BR>
Sender IP : #REMOTE_ADDR#<BR>
<BR>
<b><i>Message: <BR>#ParagraphFormat(Form.Message)#</i></b><BR>
<i>Message Sent : #DateFormat(now(),'mmmm dd,yyyy')# #TimeFormat(Now(),'hh:mm:ss tt')#</i>
</font>
</cfmail>
<cfmail from='Eduardo@EduardoTavares.com.br' to="#trim(form.Email)#" subject="Thank you for submitting our form"
server="myserver" port="25" type="html">
<font size="2" face="Georgia, Times New Roman, Times, serif">
<b>Whats Up #form.Name#,</b><BR>
<i>Thank you for submitting our Contact Form.We will contact you back within 24 hours.We also sent you a copy of what you submitted below.</i><BR>
<BR>
Thanks again!<BR>
<i><b>Eduardo Tavares</b><BR>
<a href="http://www.eduardotavares.com.br">www.EduardoTavares.com.br</a></i><BR>
<BR>
<b>Submission Receipt:</b><BR>
---------------------------------------------------------------------------------------<BR>
<i>Sender Name : #form.Name#<BR>
Sender Email : #form.Email#</i><BR>
<BR>
<B>Message:<BR>#ParagraphFormat(Form.Message)#</b><BR>
<i>Message Sent: #DateFormat(now(), 'mmmm dd, yyyy')# #TimeFormat(Now(), 'hh:mm:ss tt')#</i><BR>
</font>
</cfmail>
but it's not working.
When I do this #form.Name# I am taking the value from the input text box named Name right(with the var property set to Name)?
Sending Email From Flash Using PHP - Stuck On Tut
Hey guys & gals,
If followed Lee's tut regarding sending email from Flash 8, however It doesnt seem to work for me.
Im thinking this is because I have combined scripting from this tutorial to another to create my interface.
At the moment my scripting for the PHP tut is sitting in a MovieClip called content 5, therefore it is not on the route timeline. Would this be why I cannot type into the message boxes or see the send text on the button.
Sorry, not sure if thats clear enough, if it isnt I will post the .fla for you later.
Chris
Attach Flash To Email (sending E-Flyer)
Hi everyone! Can someone help me on how to attach html or swi file to email? I actually want to send a mass E-Flyer. I seemed to be able to publish, attached the html file to an email and sent it but when I tried to open the mail, it came out nothing....also the sound is not attached to it..... Please advice....
|