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.

mailto script ? - newbie

Featured Replies

  • Newbies

Hello,

I have a field (let's name it : usermail)

and a button that when i click on it, i want it to open my email program, new mail, and put the field usermail in the To:

i tried via open url and sendmail but it doesn't seem to work the way i want to.

what kind of script could i use ? and how to use it?

Thanks for all

Hi,

The URL button specification should look like this:

"mailto:" & table_name::email_address_field

Not only can you put the usermail into the "To:" but also you could put the "Subject" and even the body of the email, like this:

"mailto:" & table_name::email_address_field & "?subject=" & table_name::subject_field & "&body=" & table_name::body_field

See attached file for an example. It works on my XP machine with FP7 and Outlook.

Enjoy,

-GerryGerry

simple_email_test.zip

Hi,

I just thought of three things...

1.- We are in the ScriptMaker forum, so I should have created a script with the above mentioned specification instead of making a button. Anyway, it works exactly the same way.

2.- I should have mentioned that I to checked "Perform without dialog" (Button or ScriptMaker), saves one click.

3.- I don't like "Send Mail" because (on my machine) it asks me for a profile, then opens a plain-text Outlook window. This window seems to be a child of the FMP window because I cannot access FMP unless I close the child window (which can't be minimized). This doesn't happen with "Open URL"; it opens an independent html-text Outlook window and I can access FMP without a problem.

That's it for now,

-GerryGerry.

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.