Need to Psos as the client machine sending the email does not have internet.
If the client machine does not have internet, how are they executing a PSoS command? You have to be connected to a hosted file to command PSoS to execute.
Things to check:
1) Does your script have an exit script step built in to it to indicate that it is done?
2) Do you have a maximum idle timeout set so idle users are disconnected?
3) FMS updated with latest version of filemaker?
4) What do your logs show?
5) Are you error capturing for email errors immediately after the email sending?
6) Have you used the correct context in your script for PSoS? EG compatible script steps.
Post more details please.
It has access to the hosted files on the internal network. They just have the outside Web off as the client has sensitive files.
Server is up to date.
Logs show nothing pertaining to the error
How do I set up error handling for the email scripterodactyl?
The only script step is the email send function.
For your PSoS script:
Send Mail ( your email settings )
If ( Get(LastError) <> 0 )
Exit Script ( Get(LastError) )
Exit Script ( 0 )
For your client-side script:
Perform Script on Server ( Email Script ; Wait for Completion )
If ( Get(ScriptResult) <> 0 )
Show Custom Dialog ( “ERROR” ; Get(ScriptResult) )
Show Custom Dialog ( “Success” ; “Email Sent Without Errors” )
How many e-mails is you script sending when it runs?
1 email to 1 hard-coded address...
I suspect that you have a configuration issue with the e-mail set up. If you can run the script in a local version of FileMaker on the server to be sure it can reach the e-mail server.
Debugging Psos can be difficult because you can't set through the script while running on server. You can set up a log table and write a record to it with all of the information required for the PSOS e-mail script to be sure it is correct on the server.
Make sure you are not depending on Global fields from the local session. The PSOS will have it's own set of global fields. You will have to set them in the PSOS script to use them.