January 11, 20188 yr Hi There - We upgraded to Email plugin V3 and now our PSOS script is returning a ? vs. a 1 on successfully sending an SMTP email. Can you confirm this is expected behavior ?
January 11, 20188 yr Hello, If a plugin function returns a "?" then the plugin is either not installed or not enabled. If you did not restart the FileMaker Scripting Engine after installing the plugin then please do so by typing the command: fmsadmin restart fmse -y in Terminal/PowerShell. Please check the FileMaker Server Admin console under Database Server->Server Plugins that the plugin is listed there and is checked as enabled. Enable it if it is not checked as enabled. The very first time the plugin is enabled it will need to download the necessary JRE so there will be a delay before you see the enabled message. If the plugin will not enable, typically it means that the plugin cannot download the necessary JRE or has already tried and the download did not complete. Please follow the instructions here to manually install the necessary files.
January 15, 20188 yr Author Nope - that's not the issue; we are getting "1" responses from the plugin for the register command and the connect command and disconnect afterwards, but the SEND command is returning a ? eventhough the email IS getting sent. Is there any further logging that can be done ?
January 16, 20188 yr A ? as a return of a function definitely means that the plugin is not enabled unless somehow specifically the EmailSend function isn't getting registered at initialization which I have never had reported. The ? is a native FileMaker response because the FMSE (FileMaker Scripting Engine) doesn't know what to do with the function call in the script. Please submit your logs to our support system by sending an email to [email protected]. Make sure to reference this thread as well as include any other additional details. Make sure to reproduce the error and send the logs without any restarts of FileMaker as restarting will overwrite the logs. See this page for log locations. If you are calling a PSOS script then we will need the server-side plugin logs.
Create an account or sign in to comment