# Basic Email Sending Problem?

**URL:** <https://forum.kirupa.com/t/basic-email-sending-problem/80820>\
**Category:** Uncategorized\
**Created:** [February 25, 2005, 1:09am UTC](https://forum.kirupa.com/t/basic-email-sending-problem/80820 "2005-02-25T01:09:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kv5](https://avatars.discourse-cdn.com/v4/letter/k/3e96dc/32.png) [@kv5](https://forum.kirupa.com/u/kv5)\
**Post date:** [February 25, 2005, 1:09am UTC](https://forum.kirupa.com/t/basic-email-sending-problem/80820/1 "2005-02-25T01:09:34Z")

</div>

Hi,

I am adding a basic email sending page to my flash site… the mail is sent using outlook… (Opens up the visitors email sending program) - My problem is that when all the relevant info is dropped into the mail for sending it kinda looks like a long line of text… all I want to be able to do is seperate each section that is entered… a simple line break ?

on (release) {  
if (!email.length) {  
email = “Email Required…”;  
} else if (email.indexOf(".") == -1 || email.indexOf("@") == -1) {  
email = “Invalid Email…”;  
} else if (!Comments.length) {  
Comments = “Comments Required…”;  
} else {  
strMsg = “Name :”+username+newline+“Email: “+email+newline+“Comments: “+Comments;  
getURL(”\<A [href="mailto:bob@bob.com](mailto:href=%22mailto:bob@bob.com)”+”?subject=contact”+"&body="+strMsg"\>[mailto:bob@bob.com](mailto:bob@bob.com)"+"?subject=contact"+"&body="+strMsg);  
}  
}

Any help would be greatly appreciated.

Thanks in advance.
