This content has been marked as final. Show 4 replies
Found my answer on http://ActionScript.org forums.
Including a "%0A" in your string text forces a line break once the email window is opened. In Outlook Express, if I view the source, the "%0A"s have been converted to <br> tags.
What a pain! I wasted at least 3 hours on this!
I'm having the same mailto: problem in Flash 8. I'm trying to find the answer you said was on http://ActionScript.org, but I can't locate it. Could you point me to that? And did it actually solve the problem?
I'm new to scripting, so some of this is all greek to me.
Sorry, I should have mentioned that my real problem is the "cc", "subject" & "body" lines never appearing in the email. The "mailto:" does work, but only the recipient field gets filled, the others do not.
Make sure you use the following syntax:
"mailto:email@example.com?subject=YOur Subject&body=some text copy for the body&cc=&bcc="
I'm not sure about the CC or BCC fileds, but my gues is you would use CCfirstname.lastname@example.org, etc..
Remember to seperate each variable=value pair with an ampersand
Play around with the mailto tag using ?HTML <a> links first, and once you get the desired result you should be avle to copy/paste into flash script.
Also, you're using getURL(), correct?
In FLash, the code should look like :
"getURL("mailto:email@example.com?subject=YOur Subject&body=some text copy for the body&cc=&bcc=");
Hope this helps!