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.

multiple attachments

Featured Replies

Hi Guys,

Is it possible to attache say 3 external attachments in the Send Mail script.

Cheers

Jalz

No, not with a send mail script step. Even if you have more than one file listed, it will only use the first valid one.

I have worked around this by using a VBS script on windows to do this, and I'm certain it can also be done with an applescript but it is a fair amount of work to do. (I have a sample file somewhere on the forums that does do this with a vbs on window, applescript I can't help you with)

  • Author

Thanks aholtzapfel,

My clients are Windows based, so this VBScript would be extremely useful!

Do you happen to use exchange and FileMaker?

Here is a link to the file I posted, It is not perfect but should do what you want. The VBS script is embedded in a FM file. It uses outlook to send the email. I use a variation of this daily, and we do use an exchange server (although it doesn't matter, it will use whatever account is set-up in outlook).

Link ->Sample VBS to send mail w/ multiple attachments

  • Author

Thankyou aholtzapfel,

I shall try your script when I'm in work on Monday.

Interesting you say you use Exchange with FileMaker. When ever you use the sendmail script with perfor without dialog checked - Do you ever get a message from outlook saying something along the lines of "A program is trying to send a message on behalf of you, click allow or deny"

I so how have you got rid of it?

When ever you use the sendmail script with perfor without dialog checked - Do you ever get a message from outlook saying something along the lines of "A program is trying to send a message on behalf of you, click allow or deny"

If so how have you got rid of it?

I have not, sorry, I have looked into it and I think there is a way but it is still a little beyond me, the solution involves signing the vbs script, a single line of code in the vbs script that would refer to a certificate issued by a Certificate authority and installed on the system. Because of the nature of vbs (a script can be written to do almost anything, including trashing a system.) the information is a little hard to come by. When the script runs for the first time windows will ask if you want to allow it. You can allow and ask it to remember the choice. A certificate would avoid this warning, and may avoid the warning from outlook about sending mail but I cannot be sure.

In the VBS script there are 3 commands that can be used for the email

.save (just saves the email in drafts folder)

.display (works like the send mail script step with dialog)

.send (works like the send mail script step w/out dialog, security warning and all)

for my solution I have used the .display command and was good enough.

If you know any Visual Basic Programmers (very similar to VBS) they may have a better way of dealing with it.

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.