AnsweredAssumed Answered

Send Mail

Question asked by tays01s on Jun 3, 2016
Latest reply on Jun 5, 2016 by user26592

I am trying to send info from a field from a Runtime in Kiosk mode using this script:


Commit Records/Requests

Set Variable [ $Path; Value:Get ( TemporaryPath ) & "License_request" ]

Export Field Contents [ License::Field; “$Path” ]

Send Mail [ Send via E-mail Client; To: "email@address"; Subject: "License_request"; Attachment: “$Path” ] [ No dialog ]

Perform AppleScript [ Native AppleScript: tell application "Finder" display dialog "

XXX message." end tell ]



It works fine for OSX. For Windows I think there are 2 problems:

1. I don't think the field info is actually getting sent to Outlook for some reason [I get "Unkown Error: -1"]


2. Obviously the Applescript part doesn't work. Does anyone know the equivalent 'cmd.exe' command to achieve a dialogue after the FM Runtime has quit? BTW I realise I could show a dialogue within FM, but I was intending to put a 'Quit' step in before this to reduce the chances of users messing with an un-licensed solution.