When trying to trouble shoot a script it is very helpful to be able to see the script.
To explain it simply, I made a new script with only 1 line
When I execute this script with FileMaker Pro the email is correctly generated
When I execute this script on an iPad with FM Go I have
I think there is a serious bug in FM Go.
It replace "¶" by ¶
What are your opinions?
Unfortunately your .png files were not viewable.
Are you sending the mail via SMTP or via client?
¶ resolves in a carriage return symbol according to HTML standards. It looks like something that happens on the OS layer when pushing the email to the client. In case you are not doing so, could you try sending via SMTP?
Looks like something worth posting as an Issue Report so that the TS folks at FileMaker inc. are informed of this and can test to see if they can reproduce.
Have you tried using the Substitute function to change the return back to ¶? This might help you get around this bug.
If you are in a need of a workaround you should be able to do by defining a script variable in your WebDirect link instead of using the script parameter.
thank you for all your replies, but none of your suggestion help in this case.
I made a new very simple test.fmp12 (link at the end).
I uploaded the file on a FMS 14.
There is only 1 script containing only 1 line.
I just try to put a simple string in the text message of the email.
The problem: Under FM Go the string "¶" is replaced by a carriage return.
When you run the script with FileMaker Pro/Advanced it works very well.
Result with iMac (FM Pro)
When you run it with FM Go you get a wrong message in the email.
Result with iPhone (FM Go)
Hereunder my FM test file
I don't see how using a script variable instead of the script parameter in your WebDirect link would not help. It does not fix the originally reported problem but it should help to get around it.
You would replace
?script=Crmdp¶m=" & User_AccountName::Demande_Reset_mdp_uuid"
?script=Crmdp&$key=" & User_AccountName::Demande_Reset_mdp_uuid"
In the Crmdp script replace Get(ScriptParameter) by $key as the instance of the script triggered at login has this local variable already set from the link.
As as long as you can avoid using ¶ string it should do I guess?
I solve the problem like this when it's FMGO
Substitute ( "¶m=123" ; "¶" ; "&para" )
Which return "¶m=123".
With FMPro it return "&param=123", so it need a test with Get (ApplicationVersion) to see wich solution to use.
This should be need corrected by FileMaker inc.
And there is a part of this forum specifically set up for reporting such bugs to FileMaker. Please locate that section and make such a report to bring it to FileMaker Inc.'s attention.