July 22, 200223 yr I've got a FM 5.5 db with a custom web interface (built from scratch). My question is this: After a new record is created, I want to automatically send an email to a person, notifying them that a new record has been created. I also want the email to contain some information from the record that was just created. Is this possible, and if so, HOW?? Thanks Jackson
July 23, 200223 yr The trick is to put all of the -mailto, -mailfrom etc tags in the form that the user uses to create the new record. The -New action will create the new record and send the mail in the same process.
July 23, 200223 yr You can also use an Inline action on the response page ... this greatly simplifies getting the data just entered by the user into the -mail tags. All the new record data will be available to the opening Inline Action tag via replacement tags including related data (if any).
July 23, 200223 yr Author Thanks for the replies. Vaughn: I'm aware that to send stuff in an email, one would need to use a form with the <form method= post action="mailto:[email protected]"> tag. But to put information from a FMP db, you also need the <form action="FMPro"> tag. Is there something I'm missing here? It just seems that the same tag would need to be used for two different purposes. Jackson
July 23, 200223 yr You don't have to use the "action='mailto:....", you can use the Filemaker mail tags. Have a look at the 'CDML Reference' database, it has some good examples. All the best. Garry
Create an account or sign in to comment