# Email PHP not sending email

**URL:** <https://forum.kirupa.com/t/email-php-not-sending-email/133461>\
**Category:** Uncategorized\
**Created:** [January 8, 2005, 7:31pm UTC](https://forum.kirupa.com/t/email-php-not-sending-email/133461 "2005-01-08T19:31:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ellare](https://avatars.discourse-cdn.com/v4/letter/e/919ad9/32.png) [@ellare](https://forum.kirupa.com/u/ellare)\
**Post date:** [January 8, 2005, 7:31pm UTC](https://forum.kirupa.com/t/email-php-not-sending-email/133461/1 "2005-01-08T19:31:43Z")

</div>

went here and used this tutorial:  
[http://www.kirupa.com/developer/actionscript/flash\_php\_email.htm](http://www.kirupa.com/developer/actionscript/flash_php_email.htm)

despite a few errors that i figured out along the way -  
such as if senocular suggests naming the field variable as “body” - then one has to call it as $\_POST[“body”] in the PHP script, and not “message” as he has suggested.

and the movie clip “FORM” action should be  
onClipEvent (data) {  
\_parent.nextFrame();}

however - my version does not email me. the forms will fill out, once the user hits send - i get the thank you screen - but i never receive the email.

i have confirmed that my site host does support PHP.

this is my PHP script:

\<?php  
$sendTo = “[lisajray@comcast.net](mailto:lisajray@comcast.net)”;  
$subject = “email from PHP test #2”;  
$headers = "From: " . $\_POST[“name”];  
$headers .= “\<” . $\_POST[“email”] . "\>  
";  
$headers .= "Reply-To: " . $\_POST[“email”]  
;  
$headers .= "Return-Path: " . $\_POST[“email”];  
$body = $\_POST[“body”];  
mail($sendTo, $subject, $body, $headers);  
?\>

and nothing happens.

any suggestions as to why this ‘acts’ like it is emailing me - but it is not ?  
i have attached my FLA as well

ellare
