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 sending email from web

Featured Replies

Is there a way to auto send an email from FMP db after clicking "Submit" button from web page?

I've got everything working with CDML but can't figure out a way to auto send the email to someone after record has been submitted. I can do it manually so it works ok, just need to automate!

all help appreciated...

nati

[ June 26, 2001: Message edited by: nati ]

Just add the hidden fields to your form with SMTP server, from, to, and what.

You can even send (include) part of database.

  • Author

Thanks, tho not sure I understand.

I have web site and it has fields that user fills out. When they are done they click "Submit" which populates the database. In the database I have an email script setup that then sends this information to the secretary. This all works fine but I have to manually send the email. Is there a way to automatatically send this email after the person clicks on the Submit?

Thanks,

nati

In your form CDML add:

<input type="hidden" name="-mailto" value="Where You Want The Mail Sent">

<input type="hidden" name="-MailFrom" value="Return e-mail address">

<input type="hidden" name="-MailSub" value="Subject">

<input type="hidden" name="-MailHost" value="pop host">

<input type="hidden" name="-MailFormat" value="mail.txt">

The mail.txt file should be in the web folder, like a CDML page, but the contents will be the fields / format to be in the body of the e-mail, for instance:

[FMP-Field: Name] has just been added to the blah blah database. Home Phone: [FMP-Field: Home Phone], Work

Phone: [FMP-Field: Work Phone], E-Mail: [FMP-Field: E_Mail], Web Page: [FMP-Field: Personal Web Page]

Have Fun.

  • Author

thanks! i'll give it a go...

nati

  • Author

got it to work! thanks again,

nati

Great!

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.