Jump 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.

Featured Replies

Hi,

My database has a Send Mail script that creates an email for each contact. The Subject and Message are filled in automatically based on their respective global fields, which are editable by the users of my database.

However this option is not available for attachments. My original idea is to have a global Container field where my users can insert a file, and then use the script to send out large number of emails with the inseted file as an attachment. Is there anyway I can make Filemaker create emails that also attaches whatever file my users chose automatically?

The rationale behind this is that the users of my database have almost no training in Filemaker, and we often have to send emails (with attachments) to hundreds of people in one go rapidly.

Any suggestions are much appreciated, thanks!

MacGuffin

FM's built in email functionality supports only one attachment per email. If you require more than one attachment or need formatting or graphics, then you'll need a plugin.

It is also not wise to send hundreds of emails because you might get flagged as a spammer. You might want to use ConstantContact or MailChimp.

However, attaching a file to an email is fairly straightforward. Assume you've inserted a file into a container:

Set Variable [$Path ; Get ( TemporaryPath ) & "FileName.PDF" ]

Export Field Contents [YourTable::ContainerField ; $Path ]

Send Mail [send via email client; To: Emailaddfield ; Subject: "Requested File" ; Message: "Message text" ; "$Path"]

Create an account or sign in to comment

Important Information

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

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.