Question
AARGH! Need line breaks in email message
I have made an email form on a flash site using the 'mailto'
function to send the input from the text fields to an email
program. Works perfectly when tested offline in Flash. However,
when it runs online in the browser and the email program is
launched, there are no line breaks in the message body.
For example, the body input should be formatted:
Hi,
How are you?
I'm great.
However, it ends up formatted like this: Hi,How are you? I'm great.
AARGH! How do I get the line breaks to match the user's input?
Here's my code:
on (release) {
getURL("mailto:mail@mail.com?subject="+subject+"&body="+body);
}
For example, the body input should be formatted:
Hi,
How are you?
I'm great.
However, it ends up formatted like this: Hi,How are you? I'm great.
AARGH! How do I get the line breaks to match the user's input?
Here's my code:
on (release) {
getURL("mailto:mail@mail.com?subject="+subject+"&body="+body);
}