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.

SendMail : multiple recipients

Featured Replies

Hello,

Has someone an idea to use SendMail to send to multiple recipients ; I tried to put ; or , between adresses, but unsuccessfully !

Thanks for your interest

Noël

You will need to pass in an array of email recipients. Please check this thread for a solution to your issue.

  • Author

Thanks for your link. But I don't have sufficient knowledge to adapt the script ! Do you think I can find an example on the forum ?

Regards,

Noël

  • Author

Since my previous message I reached RvH who was the author of the thread you indicated. I understood how to modify the original script to pass multiple recipients.

Another thing I can't do is to include in my FileMaker file all the process (instead of opening the scriptmaster sample file):

2 jars seems necessary : mail.jar and activation.jar ; I've downloaded them and imported in multimedia fields of FMP... but after how must I call them ?

Has someone done a little sample file I could get ?

Thanks for your help !

Noël

Don't worry ! I've found the solution in the documentation : SMloadjar !

Edited by Guest

  • Author

Coming back !

I thought it was ok but no.

I want to have the functions sendMail and SendMailWithAttachments avalaible without opening and closing le sample SM File.

For that I have a multimedia file containing the cativation.jar and mail.jar ; on opening I define 2 variables to load these jars ; then I define 2 other variables to register and make avalaible the functions Sendmail.. An I have errors.

I join a pdf of the script and another of the errors.

Thanks for your help !

Noël

errors.pdf

script.pdf

Your errors show that you have not loaded your jars successfully. It looks like you are doing some sort of a calculation in your script in the SMLoadJar function. My guess is that this calculation is not properly pointing to your JARs which you have embedded. You may want to simplify your calculation and point directly to the JAR container fields.

  • Author

Hello,

Finally I found mys mistake ! I had inserted these two jars in multimedia fields... but only with refrence to the path they were ! And then I had put them in the trash...

So stupid !

Thanks

Noël

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.