# Form Mailer Formatting

**URL:** <https://forum.kirupa.com/t/form-mailer-formatting/110703>\
**Category:** Uncategorized\
**Created:** [May 19, 2004, 12:49am UTC](https://forum.kirupa.com/t/form-mailer-formatting/110703 "2004-05-19T00:49:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kaveh](https://avatars.discourse-cdn.com/v4/letter/k/9fc348/32.png) [@Kaveh](https://forum.kirupa.com/u/Kaveh)\
**Post date:** [May 19, 2004, 12:49am UTC](https://forum.kirupa.com/t/form-mailer-formatting/110703/1 "2004-05-19T00:49:05Z")

</div>

Hello!

I was wondering if anyone can tell me how to format the data being sent from a multiline text field to a PHP mailer script so that the new line character is preserved.

Currently, the following text, when entered into the flash message form, looks like this:

[INDENT][FONT=Courier New]“Hello,  
My name is Kaveh.  
What is yours?”[/FONT][/INDENT]

When the user clicks the submit button, and the data is sent to my email.php file, and subsequently sent to my email account, the message displays like this:

[INDENT][FONT=Courier New]“Hello,My name is Kaveh.What is yours?”[/FONT] [/INDENT]

Any help would be greatly appreciated!

- Kaveh
