August 22, 200817 yr Hi guys, I am trying to attach a document (JPeg or PDF etc) to an email using the SendEmail script and then 'Attach File'. The email is created OK in my email client (Eudora) but it doesn't attach anything! Using the Go To URL script and specifying exactly the same file path, I am however able to open the document! The file path I am using is: file:///Volumes/Admin/Booking Documents/Terms of Business/Standard Terms.pdf I am running on a Mac network, if that makes any difference, and the file to be attached is located on the server, as is the Filemaker file, and the Volume is mounted on my desktop. Using ScriptMaker I have tried using the 'Set Variable' script in the line above the 'SendEmail' script (where the variable $path_doc = the file path above) as well as typing the path directly into the relevant field in the Attach file section of the SendEmail script. I hope that all makes sense!
August 22, 200817 yr The file spec is wrong: try filemac:/volumeName/directoryName/fileName Notice single "/" separators. incidentally the "file:" format is for fp7 files only.
August 22, 200817 yr Take a look at the Help Creating file paths for a little more on the subject. Lee
Create an account or sign in to comment