# PHP - Flash Email Form Issues! (from tute)

**URL:** https://forum.kirupa.com/t/php-flash-email-form-issues-from-tute/77347
**Category:** flash
**Created:** [January 26, 2005, 5:36pm UTC](https://forum.kirupa.com/t/php-flash-email-form-issues-from-tute/77347 "2005-01-26T17:36:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![scotia2k4](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@scotia2k4](https://forum.kirupa.com/u/scotia2k4)
#### Post date: [January 26, 2005, 5:36pm UTC](https://forum.kirupa.com/t/php-flash-email-form-issues-from-tute/77347/1 "2005-01-26T17:36:32Z")

</div>

Hi folks, Ive read through all the other problems associated with the tute on Kirupa, and I still cant work out whats wrong with my php code?

This is whats in the php,

I have three input boxes in flash, name, email, message (so Im not sure why there is a php line for “body”???

\<?php  
$sendTo = “[info@palegallery.com](mailto:info@palegallery.com)”;  
$subject = “Testing Form”;  
$headers = "From: " . $\_POST[“name”];  
$headers .= “\<” . $\_POST[“email”] . "\>  
";  
$headers .= "Reply-To: " . $\_POST[“email”] . "  
";  
$headers .= "Return-Path: " . $\_POST[“email”];  
$message = $\_POST[“message”];  
$body = $\_POST[“message”];

mail($sendTo, $subject, $message, $headers);  
?\>

The server accepts php etc, but Im really new to this, so any advice would be VERY welcome!

Thanks a million!  
scotia 2k4
