ShowURL
From REALbasicWiki
| Overall article skill | ✭ |
[edit] How to create a multi-line mail message
Several people had recommended encodeURLcomponent - what they failed to mention is that you need to encode every component, not just the body.
The following even works in Entourage:
dim Body as string
body = TextArea1.text + EndOfLine + EndOfLine + TextArea2.text
showURL "mailto:" + EncodeURLComponent("me@hotmail.com") + "?subject=" + EncodeURLComponent("Hello from me") + "&body=" + EncodeURLComponent( Body )
Categories: OS | Beginner | HowTo | Tutorials
