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.

SMTP info from many records in one email?

Featured Replies

Is there a way to send information from many records in one email using SMTP? I thought about a global repeating field or something like that. Is there a way to script a process that copies information into a global repeating, then adds another record's information into another global, groups them together back into one global repeating, and so on...I want to be able to send a list through email but don't want to send separate emails for each record. Yuck!

Any thoughts or suggestions would be appreciated!

Marcelle

How many fields?

You could script a loop process, by putting the necessary fields on a layout and then using a global field to hold the email information, and one to tell which is the starting field (If using the more automated process).

gHoldEmailBody (Global text)

gStartField (Global text)

Lets say you have three fields on this layout, the first being Name, then address and telephone

Something like; (once you have the records found)

If you don't have too many fields and you need a specific format, then.

Go To Record/Request/Page [First]

Set Field [gStartField, Name]

Loop

Set Field [gHoldEmailBody, "Name: " & Name ]

Set Field [gHoldEmailBody, gHoldEmailBody & ":PP" & "Address: " & Address]

Set Field [gHoldEmailBody, gHoldEmailBody & ":PP" & "Telephone: " & Telephone ]

Go To Record/Request/Page [Next, Exit After Last]

End Loop

---Code your SMTP functions here---

For a more automated (Yet not so much choice on the output)

Go To Record/Request/Page [First]

Set Field [gStartField, Name]

Loop

Go To Field [Name]

Loop

Set Field [gHoldEmailBody, gHoldEmailBody & ":PP" & Status(CurrentFieldContents)

Go To Next Field

Exit Loop If (Status(CurrentFieldName) = "Name"

End Loop

Go To Record/Request/Page [Next, Exit After Last]

End Loop

---Code your SMTP functions here---

HTH

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.