Skip 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.

script to send personalized mail with line break

Featured Replies

this seems extremely stupid. I created a script to send automatically an email to the current contact. It's evaluating whether it is Mr. or Ms etc. and then it inserts the text of a certain field as body of the email.

My problem is: I need to insert a line break between "Dear Mr....." and the body text and I just can't work it out how to do it.

  • Author

I tried the pilcrow ¶ but I didn't get anywhere.

The email would be sent through the mail client and should look like

Dear Mr. Xxxx,

I'm refering to our....

in the script I created it looks like:

"Dear Mr. " &contact::nameLast&", "

&contactLog::notes&""

which obviously tranlates into

Dear Mr. Xxxx, I'm refering to our....

which is wrong.

How would I have to bring the pilcrow into the script so Filemaker would accept it and the mail client would translate it into a line break?

I tried &¶& but FMP doesn't accept this. I put it as "¶" but the mail client wouldn't translate it into the line break.

Try:

"Dear Mr. " & contact::nameLast & ",¶" & contactLog::notes

  • Author

Many thanks!

Your post suggests that a script can be written to auto fill the body of the email. Can you provide me some pointers as to how to do this or even provide a sample of the script. I'm new to Filemaker and haven't had any success in auto-filling the body of the email I auto generate.

Any help would be appreciated.

Best regards

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.