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.

FileMaker 12.0.4 Export to Email Broken (?!)

Featured Replies

Is anybody else aware that the export to email function is BROKEN under 12.0.4 and OS X 10.8.4?

 

I've been able to replicate this. In 12.0.1 under 10.8.4, for example, the script step works like a charm. 12.0.4 - no chance. The export happens (you can see it in temp files), but no email is generated. I don't have enough OS and FM versions for widespread testing though...

 

This kills an important part of our database functionality!

 

Does anyone have a solution??

still seems to work here, OSX 10.8.4, FMPA 12v4

 

Can you give more detail:

- where do you export to

- what file format do you export to

- what's your default email app

  • Author

See sample file...

 

There is no error message. It just does not successfully route and have your default email App (Apple Mail, for example) generate an email. The export location doesn't seem to play a role. I normally use the FileMaker's temp location (var/folders/yx/)

 

I had copied the very same sample file to a FM 12.0.1 with 10.8.4 and it worked...

Ohne Titel.fmp12.zip

Works for me (see screenshot)

The new mail message does get pushed to the background but it is there.

 

As an aside

FileMaker has a built-in function to generate a temp folder for the script.

Set a variable to use it and use that in your export script step

 

Set Variable[ $file = "filemac:" & get(temporarypath) & "myFile.ext" ]

 

That would take care of any permissions issues that you may have on your computer

  • Author

I understand, thank you for the tip. However, it's not a question of permissions, since I can see the exported file in the finder. It's the "passing on" to the email program which does not work.

 

I've created three test files and was able to reproduce it with each and every one of them, given the configurations stated above.

 

Very strange - especially if no-one else is having this issue...

The fact that you can see the file in Finder doesn't mean that the mail program is allowed to touch it to add it to the email.  When you trap for errors right after the export script  step, does get(lasterror) show any particular error?

If not you may want to try breaking the script up in two distinct processes:

- one to create the file

- one to use the Send Mail script step and point to the attachment

That may give you some more control and more options for error trapping

  • Author

Thank you for the tip! I will try to trap the error and post the outcome.

  • 2 weeks later...
  • Author

I'm posting the solution here, in case someone else experiences something similar. 

 

The problem was not the export. As stated previously, the export worked. What failed was the handshake between FileMaker and the Email client. Turns out, the problem was on a system level. The computers which failed had a third party email client installed. When this one was selected as the primary email client (can be specified in the preferences of Apple Mail), the it didn't work. This goes for Sparrows as well as Thunderbird. Once switched back to Apple Mail as default, it worked. On one of the machines however, the following advanced steps were necessary:

 

 

1. Quit Mail
2. Go to your User folder – Library – Preferences
    (in Mountain Lion, hold the ALT-key, go to Finder's "Go" Menu, choose Library, then Preferences)
3. Delete this file: com.apple.mail.plist.lockfile
4. Restart
5. Open Mail
6. Open 'Preferences – General
7. Maker sure 'Default email reader is set to (Apple) 'Mail'

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.