Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5617 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I am trying out the various functions provided by ScriptMaster 3 using the method of copying the scripts into variables of the start-up script of the test file. This works fine with ListAllFilesInDirectory and GetFileModificationDate, also after restarting the test file on its own (i.e. without ScriptMaster). However this does not apply to the SendEmail function. As soon as I restart FileMaker, the latter function disappears. When debugging the start-up script, the variable for this function shows to return "error" instead of "1" as for the other functions. The SendEmail capability returns as soon as I open the ScriptMaster file again.

Can someone help me and tell me what I am doing wrong? Many thanks.

Posted

After you receive the "error" response, call SMLastError to get a detailed description of the problem. I suspect you need to include the javamail.jar

The ScriptMaster FileMaker file does this for you, but if you copy the script into your own startup solution, you're also responsible for loading the .jar using SMLoadJar.

This topic is 5617 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.