HI BobLFoot,
Thank you for your reply and your suggestion but I think this in not the case. I am pretty sure that the problem is with the length of the string. As you can see in the following example I call the power shell script with only two parameters par1 and par2. I get the email but the string I get is not "123456789123456789123456789123456789" but I only get "123456789123"
StartApp "powershell.exe PATH_TO_SCRIPT -par1 test@test.com -par2 123456789123456789123456789123456789 "
Based on the example below I strongly believe that the problem is with the length of the string, so is there any way to "hack" this?