# Flash / Php message text trouble in mail form

**URL:** https://forum.kirupa.com/t/flash-php-message-text-trouble-in-mail-form/79172
**Category:** programming
**Created:** [February 11, 2005, 12:34pm UTC](https://forum.kirupa.com/t/flash-php-message-text-trouble-in-mail-form/79172 "2005-02-11T12:34:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Sgt\_Jim](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@Sgt\_Jim](https://forum.kirupa.com/u/Sgt_Jim)
#### Post date: [February 11, 2005, 12:34pm UTC](https://forum.kirupa.com/t/flash-php-message-text-trouble-in-mail-form/79172/1 "2005-02-11T12:34:57Z")

</div>

I have used the flash php email from tutorial and its working a treat. I have modified the php to send the emails etc. to my address and the emails are getting through. However the message text is not coming through. I only get blank emails. I’m only starting to learn php so has someone got an answer for this? Thanks in advance

Here’s the php script:

\<?php  
$sendTo = “[adriancorcoran21@yahoo.co.uk](mailto:adriancorcoran21@yahoo.co.uk)”;  
$subject = “Email from akphotos”;  
$headers = “From: " . $\_POST[“firstName”] .” “. $\_POST[“lastname”] . “\<” . $\_POST[“email”] .”\>  
";  
$headers .= "Reply-To: " . $\_POST[“email”] . "  
";  
$headers .= "Return-path: " . $\_POST[“email”];  
$body = $\_POST[“message”];  
mail($sendTo, $subject, $message, $headers);  
?\>
