# Mail form problems \[renamed\]

**URL:** <https://forum.kirupa.com/t/mail-form-problems-renamed/172662>\
**Category:** flash\
**Created:** [December 16, 2005, 4:54pm UTC](https://forum.kirupa.com/t/mail-form-problems-renamed/172662 "2005-12-16T16:54:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dipsb\_13](https://avatars.discourse-cdn.com/v4/letter/d/bcef8e/32.png) [@dipsb\_13](https://forum.kirupa.com/u/dipsb_13)\
**Post date:** [December 16, 2005, 4:54pm UTC](https://forum.kirupa.com/t/mail-form-problems-renamed/172662/1 "2005-12-16T16:54:46Z")

</div>

hey guys

I have a problem which needs urgent attention

I have made a contact form in Flash using a PHP script I have the fields as follows:

Name  
Email  
location  
URL  
message

everything works fine however the “message” field is does not appear in the body of the recieved email

help me please I’m begging you…here is the PHP code used:

\<?php  
$sendTo = “[dips@designreel.com](mailto:dips@designreel.com)”;  
$subject = “guestbook entry from [laurenelisemodel.com](http://laurenelisemodel.com)”;  
$headers = "From: " . $\_POST[“guestname”];  
$headers .= “\<” . $\_POST[“guestemail”] . "\>  
";  
$headers .= "Reply-To: " . $\_POST[“guestemail”] . "  
";  
$headers .= "Return-Path: " . $\_POST[“guestemail”];  
$message = $\_POST[“guestmessage”]. "r  
";  
$message = $\_POST[“guestlocation”]. "r  
";  
$message .= $\_POST[“guesturl”];  
mail($sendTo, $subject, $message, $headers);  
?\>

Everything else works fine - please note that the var name for the message field is “guestmessage”

Please help me somebody

Dips
