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.

E-mail Attachment

Featured Replies

Hi gang,

I have a script that creates a pdf file from a Job record. the last step of the script is to e-mail this pdf to a client. the problem I have is attaching the file. The user has to attach the file manually. Is there a way to use a dynamic file name to attach. It is named for the Job number filed.

I know if the file is always the same name in the same place it is easy. But the file is named after the job number. But I have found no way of telling fmp to attach the file named after the job number field. I don't think its possible. Am I wrong? Please tell me I am

Thanks

You can't dynamically attach a file, it has to be explicitly named in the script. You also can't dynamically export a file from filemaker.

The way I've worked around this (for pdf files) is to always print the pdf file to the same filename and always email that filename. Since you can dynamically choose the recipient, you can put the generation of the pdf file in the script right before the mailing. This way the contents of the pdf are correct for each recipient, even if the filenames are all the same.

If you really need to dynamically rename and attach files to emails, you might consider a plugin like SMTPit Pro.

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.