CRURLEncoded
For adding a newline when using openurl script step to send emails using the mailto: url handler protocol
Be the first to rate this function Log in to vote
Joshua Paul - Show more from this author
Neo Code http://www.neocode.com |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
instead of this:
"mailto:" & Table::Email & "?subject=" & GetAsURLEncoded ("Some subject") &
"&body="
& GetAsURLEncoded ( "First line of body" ) & "%0D%0A%0D%0A"
& GetAsURLEncoded ( "Second line of body" ) & "%0D%0A%0D%0A"
you get this
instead of this:
"mailto:" & Table::Email & "?subject=" & GetAsURLEncoded ("Some subject") &
"&body="
& GetAsURLEncoded ( "First line of body" ) & CRURLEncoded()
& GetAsURLEncoded ( "Second line of body" ) & CRURLEncoded()
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.