Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 09-06-2007, 04:38 PM   #1
Registered User
Join Date: Sep 2007
Posts: 1
Question Contact Form question

My name is Nicole, and I am a newbie to Flash. I created my first website just recently, and I used Jesse Stratford's extremely helpful tutorial for use on my "Contact Me" page. It all seemed to be working correctly, however I noticed that my test messeges have not been going through to my e-mail address. I made sure that my e-mail address was on the same server as my website, but it doesn't seem to be working. Any ideas? Any advice you would be welcome and appriciated.


Here is my actionscript:

function lineAdapt() {
message_send = message;
while (msg_count<length(message)) {
msg_count = msg_count+1;
if ((substring(message_send, msg_count, 2)) eq "\r") {
message_send = (substring(message_send, 1, msg_count-2)) add "\n" add (substring(message_send, msg_count+2, (length(message_send))-msg_count+2));
message = message_send;
delete msg_count;
delete message_send;


And for the Submit button:

on (release) {
if (subject eq "" or message eq "" or from eq "") {
} else {
loadVariablesNum("mail.php3", 0, "POST");


And my PHP code:

mail("[email protected]", $_GET["subject"], $_GET["message"], "From: PHPMailer
Reply-To: $_GET["from"]
X-Mailer: PHP/" . phpversion());


I looked at a previous thread about this issue, and was unable to fix my problem. I also saw Atomic's tutorial located at: http://tutorials.flashvacuum.com/ind...?show=Email101

However, I am new to all this and that tutorial was hard for me to understand. Thank you for your help, everyone.
nmwright is offline   Reply With Quote
Old 09-09-2007, 10:16 AM   #2
Registered User
Join Date: Sep 2007
Posts: 3

I think your problem is with your php code. You should change it like this:

PHP Code:
("[email protected]"$_POST["subject"], $_POST["message"], "From: PHPMailer
X-Mailer: PHP/" 
dijeo is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
contact form with AS and PHP for checkboxes... jamesrobins Server-Side Scripting 3 10-01-2008 06:17 PM
Need a contact form xenia Server-Side Scripting 2 07-31-2007 12:14 PM
Flash contact form QBA ActionScript 2.0 1 09-12-2006 03:22 AM
about my question ; Tutorial 06 Send Mail Contact Form (PHP and Flash) IRITS ActionScript 2.0 1 08-06-2006 08:55 AM
Contact form (have use search) razor18 ActionScript 2.0 5 07-06-2006 01:13 PM

All times are GMT. The time now is 06:49 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.