Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Can't Attach JPeg or PDF Using SendMail Script

Featured Replies

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!

The file spec is wrong:

try

filemac:/volumeName/directoryName/fileName

Notice single "/" separators.

incidentally the "file:" format is for fp7 files only.

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

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.