# \[FMX\] Mailform heeeeelp!

**URL:** <https://forum.kirupa.com/t/fmx-mailform-heeeeelp/53210>\
**Category:** Uncategorized\
**Created:** [June 1, 2004, 1:29pm UTC](https://forum.kirupa.com/t/fmx-mailform-heeeeelp/53210 "2004-06-01T13:29:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dboers](https://avatars.discourse-cdn.com/v4/letter/d/bbe5ce/32.png) [@dboers](https://forum.kirupa.com/u/dboers)\
**Post date:** [June 1, 2004, 1:29pm UTC](https://forum.kirupa.com/t/fmx-mailform-heeeeelp/53210/1 "2004-06-01T13:29:37Z")

</div>

I have a mail form in Flash. The problem I have is with the message field. When receiving a mail, all the text of the message is in one big line,without breaks, full stops etc. What is the problem? Here is the PHP script:

```auto
<?php
$Email = $HTTP_POST_VARS["Email"];
$Name = $HTTP_POST_VARS["Name"];
$ToEmail = $HTTP_POST_VARS["ToEmail"];
$Subject = $HTTP_POST_VARS["Subject"];
$Message = $HTTP_POST_VARS["Message"];
$EmailBody	= "
You have received an email from:
Name: $Name
Email: $Email

Message Sent:
$Message
";

mail($ToName." <".$ToEmail.">",$Subject, $EmailBody, "From: ".$Name." <".$Email.">");
Print "&_root.content_enquiry.email.Status=Complete - Your mail has been sent&";
?>

```

Is there somebody who sees what I am doing wrong?

Thans in advance,  
Donald
