Jump to content
Server Maintenance This Week. ×

Email attachment from server


dmw3

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

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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