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.

auto email response using Lasso and FM Pro 6

Featured Replies

Hi, a while back I was having a problem with the format of an email.txt file that would be the body of an automatic email that would be sent out using the inline script:

[inline: email.host='smtp.bu-london.co.uk', email.to=(Field:'stpermemail'), email.subject='BU London - Update Confirmation', email.format='email.txt', email.from='[email protected]', Nothing]

[/inline]

  • Author

This inline is placed on a webpage called completed.lasso at the end of a series of html pages that collect information and store them in a FM database.

I eventually figured out one problem with the format of the email.txt file. The format goes something like this:

[inline: -search, -layout='web', -database='students', 'studentid' = (Form_Param:'studentid'), -operator='eq', -maxrecords='1']

[records]

etc etc

[/records]

[/inline]

This works, but only to an extent. See we want it to search through the database and find the information for the person who had just entered in their information. Instead, the email is sent with the information for the first record in the database. Hence, everyone gets the info for the first person in the database sent to them. We need to tell the inline to somehow look through the database and pinpoint the record of the person who was just entering their info.

Thanks for any help.

Paul

Howdy, Q! You MIGHT be able to have all new records flagged as "PENDING" or something and then have the inline search for all pending records, send appropriate e-mail messages, and then change the flag to "PROCESSED" for them all. I was going to do something like that for a system I had been working on but ended up switching to another technology. If you need to do a 1:1 kind of thing, you may have use a token or cookie to carry the ID.

Maybe somone else can offer something better, though...

--ST

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.