I'm having an issue with sending an attachment in an email when running a script on a server schedule.
Should my variable for path be different because the script is being run on the server and not from a client on a different computer? If it does need to be different, what should it be?
Correct. Path is different when running scripts on the server. The process only has access to the Server documents folder and the Server temp folder. Read the help document starting on page 131 of the PDF. Section is titled Running server-side scripts. You can also look at the built-in help in the FMS application as well.
Doug de Stwolinska
Bowden Data Services, LLC