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.

Inline attachments from related records

Featured Replies

  • Newbies

I have just bought this plugin and would like to add inline attachments from some related records. I can add the attachments on one record but am not sure how to go about this for many records - can I loop and do it?

  • Author
  • Newbies

Thanks - how is it done - do you add the attachments by adding to a variable in a loop - I have tried this but no luck.

Thks

You do not need a variable. The EmailAttachFile command accepts either a URL, container, or file path.

Where is the source attachment? What table would you loop thru, customers?

  • Author
  • Newbies

I have an artwork table with a container holding the preview (it is embedded - not linked) - I'm going to have a play with this today. I'll let you know how I get on - thanks.

  • 10 months later...
  • Newbies

I have an artwork table with a container holding the preview (it is embedded - not linked) - I'm going to have a play with this today. I'll let you know how I get on - thanks.

I've got kind of a comparable situation myself.

I want to send a mail with multiple attachments, so the recepient gets 1 mail with the attachments.

When I create the mail, I select the tickets that will be assigned to the recepient.

The tickets, that will be attached to the mail, are located (in a seperate table) in container fields, containing the pdf ticket files.

Example

To: [email protected]

Subject: Event

Message: Here're your tickets

Attachment to that mail ticket101.pdf, event102.pdf,ticket103.pdf

My problem is how do i do that ? I setup a portal on the layout where I select the available tickets that need to be mailed to the recepient.

And now I'm completly stuck. I wan't to purchase the plugin, but must be sure that my problem will be solved....

The plugin will allow you to easily do this. You simply call EmailAttachFile as many times as you want before you EmailSend.

btw: I want to point out the although the title of this thread refers to inline attachments, this discussion does not address inline graphic attachments, but rather simple attachments.

  • Newbies

Correct me if I'm wrong,

Step 1) EmailRegister and then EmailConnectSMTP functions

Step 2) I create the mail with EmailCreate function

Step 3) I loop through the records and for each record that needs to be attached I call the EmailAttachFile

Step 4) at the end of the loop EmailSend function

And that's the flow ?

Yes, but you need to pass in a file from a path or a container in your loop. You can't actually pass in a record itself. I'll assume that's what you meant, but I wanted to post that just to make sure. You never know!

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.