Jump to content

Help My email php and flash form wont work


Spikeysonic

Recommended Posts

Can anyone explain... (note this is first time using PHP , dont have a clue, only using it as FLash CS5 wont send emails forms directly) so add all the details and explain it all please.)

 

why my yahoo email is not detecting this at all. Also I managed some success earlier with earlier attempts but eveythign was surrounded with html tags even though I set them to off in Flash on the property tabs on the input text.

 

In the Flash file . swf  the send button has this code

 

on(release){

form.loadVariables("email_send.php", "POST");
}

 

and the movie containing the input text fields has this code

 

onClipEvent(data){
_root.nextFrame();
}

 

the next page is a thank you screen

 

The variables in the input text boxes in the Flash file are

 

name, dept, phone, email and message

 

 

 

 

<?php

$sendTo = "[email protected]";
$subject = "Message from chriscreativity.com";

$headers = "From: ". $_POST("name");

$headers = "Postion: ". $_POST["dept"];

$headers =  "<". $_POST["email"] .">". "\r\n";

$headers =  "Reply-To: "	. $_POST["email"] . "\r\n";

$headers =  "Return-Path: ". $_POST["email"] ;

$headers =  $_POST["phone"];

$message = $_POST["message"];

$message = wordwrap($message, 70);

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

?><\Strong>

 

 

 

Please can you help to

 

 

A) get it to email my yahoo email

 

B) make an email that looks like

 

 

Name: Micky

Dept : Disney

Emial : Mick @mouse.com

 

etc not

 

<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Comic Sans MS" SIZE="16" COLOR="#000000" LETTERSPACING="0" KERNING="0">Micky</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Comic Sans MS" SIZE="16" COLOR="#000000" LETTERSPACING="0" KERNING="0">

 

 

please

 

[attachment deleted by admin]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.