Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

We have a script that will pull records of a find and then export them to an .xlsx file on the FileMaker server. Cannot find a way to then email that file via SMTP from the server in a script step using a server-side schedule.

Script below:

Perform Find (Restore)

Set Variable [$path; Value: "filemac:" & Get (DocumentsPath) & "export.xlsx"]

Export Records {No dialog; "$path"; Unicode (UTF-16)]

Show all records

This script successfully exports the found records to the default store on the server, now how to email this as an attachment?

Posted

When running the schedule on the server, I get an event report emailed, but no attachment. Do I need to put the SMTP details into the send script step or just have the details in the server schedule?

Its strange that you can set an email schedule on the server but not have the ability to add an attachment.

Posted

I've never used the email schedule on the server.. try putting the smtp deets in the send script. Then just run the script as a scheduled script and not an email schedule.

This topic is 4502 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.