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.

HELP for script "send email"

Featured Replies

Thanks to Mod, I can now send my documents via e-mail simply using Print to Pdf application.

I started manually and this works great.

Now I have troubleshooting with the script "send email".

Suppose I want to automatically send via e-mail a new order to one of my clients.

I created a script that first identify the order, then switch the printer and print it via Print to Pdf and save it as Order N

The send email script step cannot send attachments. You could try using applescript to create the message and attach the file. Although it should be possible, I have never tried it.

Probably, the best option is to use the SMTPit plug-in.

www.cnsplug-ins.com

  • Author

Thank you for the help.

But How come in the script definition, there is a check box "don't show details" when we select "send e-mail", and that this option doesn't open when we need.

I started with a confusing tentative to export a file in Excel. At this time, it was possible to define the document I wanted to attach...

I'll probably turn back to you for the applescript definition because I don't know how to create them.

Sorry, I was wrong. There is an option in the Send email script step to attach a file. It's been so long since I used it, that I forgot it was there.

Anyway, I still recommend using the SMTPit plug-in.

  • Author

There is an option, with "define..." but I cannot use it in utilisation Mode even if i didn't check the box... Is there a problem with FM Pro.

Please go and see my script in previous message. I'm so new here. Excuse me and thanks for help

  • Author

I downloaded the plug-in but I run a Mac OS 8.6 which is lower than the recommended OS.

I will soon upgrade but I am quite sure that something must be wrong in my script, or in FM Pro (WHY EVEN WITH THAT CHECK BOX UNMARKED CAN'T I REDEFINE THE SCRIPT JUST BEFORE SENDING THE MAIL...)

Your script looks okay. I just tested this, and I had the same result as you; the send email "perform without dialog" check box has no effect at all. It appears to be a bug in Filemaker.

I would still try SMTPit with OS 8.6 and see what happens.

  • Author

I'll have some sleep now. May be thi is what I need. I will probably turn back tomorrow in search of other solutions if it doesn't work with Mac OS.

I really appreciate this forum. Hope to also help someone someday

The Send Mail script step provides for a specified file to be attached - however the name and path to the file must be saved with the script (they are not dynamic).

That means that you will need to save your PDF (or other export file) to the name/path that is specified in the Send Mail script step, in order to have the script locate it and send it.

The "Perform without dialog" option for the 'Send Mail' step works correctly on each of four differently configured test machines here (both Mac and Windows) in FMP versions 4.x, 5.0, 5.5 and 6.0. I'm not able to ascertain from the above posts exactly what your problem with it is in that regard, or what might be causing it.

This feature operates to either bring the email client application to the front and await a user confirmation to 'send', or to request immediate background send in the email client application. What then happens depends in part on the installed email client application being appropriately configured.

However notwithstanding the above, I can confirm that SMTPit in its current versions operates correctly under MacOS 8.6 (at least in a fairly broad range of operations that I've tested it on for one of my clients).

Actually, it did perform the step without dialog even when the check box was NOT checked. Seems to me if the "perform without dialog" box is unchecked, you should get a dialog. smile.gif

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.