# New lines in email created in MX

**URL:** <https://forum.kirupa.com/t/new-lines-in-email-created-in-mx/35605>\
**Category:** flash\
**Created:** [November 15, 2003, 10:45pm UTC](https://forum.kirupa.com/t/new-lines-in-email-created-in-mx/35605 "2003-11-15T22:45:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carixpig](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/carixpig/32/304_2.png) [@Carixpig](https://forum.kirupa.com/u/Carixpig)\
**Post date:** [November 15, 2003, 10:45pm UTC](https://forum.kirupa.com/t/new-lines-in-email-created-in-mx/35605/1 "2003-11-15T22:45:21Z")

</div>

My movie opens an email window with the users email client. They have already entered their details and some other data is pulled from the movie and entered into the email.

I can’t seem to create newlines or carriage returns in the email, so all the data (name, address, ph, email) just wraps on one line, eg.

Name: John SmithEmail: [john.smith@web.comP](mailto:john.smith@web.comP)h: 6546 5646Postal Address: 87 Eighty seventh StLambodiaRufus 1111

Inserting newline between variables doesn’t do anything.

Sample file attached.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 16, 2003, 7:26am UTC](https://forum.kirupa.com/t/new-lines-in-email-created-in-mx/35605/2 "2003-11-16T07:26:47Z")

</div>

```auto
on (release) {
	message = "Online order

Name: "+fname+" "+lname+"

Email: "+emailBox+"
Phone: "+phone1+", "+phone2+"Address: "+postal1+"
"+postal2+"
"+postal3+"

Order Details:
Outside upper left: "+aulText+"
Outside upper right: "+aurText+"
Outside lower left: "+allText+"
Outside lower right: "+alrText+"
Inside upper left: "+bulText+"
Inside upper right: "+burText+"
Inside lower left: "+bllText+"
Inside lower right: "+blrText;
	getURL("mailto:chris.w@optusnet.com.au?subject=Online order"+"&body="+escape(message));
}

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 16, 2003, 7:40am UTC](https://forum.kirupa.com/t/new-lines-in-email-created-in-mx/35605/3 "2003-11-16T07:40:13Z")

</div>

Thanks Claudio, that works perfectly.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 16, 2003, 7:43am UTC](https://forum.kirupa.com/t/new-lines-in-email-created-in-mx/35605/4 "2003-11-16T07:43:08Z")

</div>

welcome 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 16, 2003, 2:33pm UTC](https://forum.kirupa.com/t/new-lines-in-email-created-in-mx/35605/5 "2003-11-16T14:33:57Z")

</div>

claudio’s tha best 😃
