6 Replies Latest reply on Apr 25, 2012 1:20 PM by planserendipity

    FM Runtime and Email




      I have a Windows FileMaker runtime which is available for general sale on XP, Vista and 7.


      My problem is that some customers don't have a default email client (e.g. Outlook ) installed on their PC that is configured to send email - I assume they're using a web mail solution such as GMail.


      As a result, when they select a button that initiates an email script step the runtime crashes.


      My question - Is there a way for FileMaker to trap this problem before or after the script step runs to prevent the crash occurring?






      FileMaker Pro Adv 11 & 12

        • 1. Re: FM Runtime and Email

          Any help appreciated!


          FM obviously can't test to see if there's an email client installed on the PC. However, can it not throw an error that can be trapped?

          • 2. Re: FM Runtime and Email

            I would look into seeing if you can set the default email client through

            FM.  Give them a pop-up to ask permission and then you should be able to

            set the default email client to gmail.  On my PC when I click any email it

            opens an email in my browser with gmail.


            Josh Ormond


            On Thu, Apr 19, 2012 at 10:03 AM, plannedserendipity

            • 3. Re: FM Runtime and Email

              There is a solution to your problem!


              Instead of sending via the build in email client do as follows:

              1. Create a setting popup [client] or [direct smtp] - you could call it somthing a bit more sexy!
              2. If the user chooses [client] your solution will do as before. If the user chooces [direct smtp] a new script will run.


              The new script is sending directly from FileMaker via smtp.


              You will need to give the users some setting fields to enter smtp server and maybe username and password.


              You could also set up a fixed smtp account with authentication.




              If you want to keep it as simple as possible: Just use the direct smtp model for everybody and forget about Outlook.


              Is this usable for you?

              Please do not hesitate if you need more detailed explanations.

              • 4. Re: FM Runtime and Email

                Just one more ting:

                Another possibility is to use MailIT or another plugin (they are also working fine with runtimes). Check out the suggestion I described in the previous post. If you need to send HTML mails, to attach more than 1 file per email or other more advanced options ... then MailIT or smtpit may very well be the solution for you.

                • 5. Re: FM Runtime and Email

                  Hi plannedserendipity

                  could you use the suggestions - or do you need more details?

                  1 of 1 people found this helpful
                  • 6. Re: FM Runtime and Email

                    Thanks Carsten, I'll give you suggestion a go.