# Question regarding Flash e-mail form via PHP

**URL:** <https://forum.kirupa.com/t/question-regarding-flash-e-mail-form-via-php/213232>\
**Category:** Uncategorized\
**Created:** [January 17, 2007, 10:41pm UTC](https://forum.kirupa.com/t/question-regarding-flash-e-mail-form-via-php/213232 "2007-01-17T22:41:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryantp](https://avatars.discourse-cdn.com/v4/letter/r/977dab/32.png) [@ryantp](https://forum.kirupa.com/u/ryantp)\
**Post date:** [January 17, 2007, 10:41pm UTC](https://forum.kirupa.com/t/question-regarding-flash-e-mail-form-via-php/213232/1 "2007-01-17T22:41:29Z")

</div>

I was testing out the tutorial from Kirupa on my website but for some reason it doesn’t work.

I even tried using the Source I downloaded(using the default swf/php) and uploading it to my website just to see if I would get an e-mail but I received none. The files plays fine and when I click on the send button it would say “Thank You, your e-mail have been received”. But again I get nothing in my inbox. I changed the e-mail in the PHP to my e-mail in case you were wondering if I didn’t.

My Website supports PHP 4.3.1/5.0 also.

So I am at a lost on why I am I not receiving anything from the command.

Please Help.

The PHP file looked something like this.

\<?php  
$sendTo = "hoaivyp@yahoo.com";  
$subject = “My Flash site reply”;  
$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);

?\>
