# Email problem

**URL:** <https://forum.kirupa.com/t/email-problem/177823>\
**Category:** Uncategorized\
**Created:** [February 5, 2006, 5:40pm UTC](https://forum.kirupa.com/t/email-problem/177823 "2006-02-05T17:40:04Z")\
**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:** [February 5, 2006, 5:40pm UTC](https://forum.kirupa.com/t/email-problem/177823/1 "2006-02-05T17:40:04Z")

</div>

Hey guys

Big problem which I’ve only just picked up on…

on my site [my site](http://www.designreel.com)  
under the contact section - in the message field - I recieve the email as long as the user doesn’t press the ‘enter’ button in the message field - if they do press the enter button and type e.g. so they have 2 seperate lines then I only recieve the first line of the email!

in the .fla the message field has been set to ‘multiline’

I may have to edit something in the PHP but don’t know what

email PHP code being used:

\<?php  
$sendTo = “[mail@mysite.com](mailto:mail@mysite.com)”;  
$subject = “email from [mysite.com](http://mysite.com)”;  
$headers = "From: " . $\_POST[“name”];  
$headers .= “\<” . $\_POST[“email”] . "\>  
";  
$headers .= "Reply-To: " . $\_POST[“email”] . "  
";  
$headers .= "Return-Path: " . $\_POST[“email”];  
$message = $\_POST[“message”];  
mail($sendTo, $subject, $message, $headers);  
?\>

Hope you guys can help

Dips
