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.

e-mail body content web based.

Featured Replies

  • Newbies

Hello All,

I have a found set of records with a result page to fill out

all mail fields.. but the body of message...Man this is killing me...

the <input type="hidden" "-mailformat" value="mail.txt"> tag

It Wants the mail.txt I can get it to run butttttttt....need to customize

dynamically..

I really want to pull from a field so that I can have people customize there

" email content field" for the body of the message......

Have tried the -MailFmtFIeld but when used it errors saying none of the other tags are filled out.. and this is In a form and I belive this tag is for <a href> only by looking at the example.. That dose not help :-(

The script solution just won't work as all this is web based....

any Idea how to customize the body of a message from the web "web companion"

Still been looking to PHP to ba able to pull a field and use it as the body but VERY complicated.. also looking at what lasso offers but $1000 is a bit much...

Any help would help ..

Web based customize body of e-mail..

Thx

Erick

  • 2 weeks later...
  • Newbies

hello

I feel your pain. Struggled with one as well, for longer than I care to admit. But, using straightforward CDML, i don't believe that it's possible to do anything more with the body of an email than what you can do with the mailformat tag.

You can do the form without the mail data, but have users enter the "body" of the email, which would submit to a field in filemaker and take the user to a "preview" page, where, if they like it, they submit again. The second submit, of course, would have the email data, at that point you can use the newly entered field in the mail.txt file.

A similar scenario could go to a "buffer" page with a redirect or inline action that did the actual mailing.

hih

steve

RE: It Wants the mail.txt I can get it to run butttttttt....need to customize

dynamically..

In mail.txt you can have many FM fields filling the body with any customization.

  • 3 weeks later...

If you can live with the mailto: tag in html and assume the user has an email client to mail with, rather than using FMP to send mail, you could use code similar to this:

<a href="mailto:[FMP-Field:email]?subject=Unused Ticket&body=[FMP-Field:FirstName] [FMP-Field:LastName] has an outstanding unused airline ticket with [FMP-Field:Carrier] valued at $[FMP-Field:amount] which expires on [FMP-Field:ExpirationDate].

Please try to use this ticket as soon as possible.

Thank you.

The Travel Department.">[FMP-Field:email]</a>

Which when the user clicks on the email link [FMP-Field:email] launches the email client with the recipient, subject and body populated with information from the database.

It is not automatic, in that the user still needs to manually send the mail with the client, but you can populate clients like Outlook Express with data using this technique.

Jim

And if you can't live 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.