Alternate to Sending Email Other Than Send Mail

Posted in Scripts

If for whatever reason you don’t want to use the Send Mail script step, you can achieve the same by using the Open URL script step as well.

Just use something like the following as the address:

“mailto:” & Email_Address & “?Subject=” & Subject & “?Body=” & Message

Where you change Email_Address, Subject and Message to hardcoded values, variables or fields.

It will open up a new message to be sent from the default installed mail client the same as the Send Mail step does.

7 Responses to “Alternate to Sending Email Other Than Send Mail”

  1. Stephen J. Arpie Says:

    How does it handle attachments?
    A mac version of MooCow would be nice :)

  2. Dempsey Says:

    Attachments can’t be sent using this method, that’s the downside.

    MooPlug? A Mac version is planned eventually :)

  3. aphealy Says:

    This is a great tip for people who don’t want to be restricted to the default Filemaker mail clients, for example if you want to use Thunderbird in OS X instead of Mail. Many thanks!

  4. Jan L.F. Bos Says:

    I am still having problems with FM9: In FM7 I had a made an email button that opened Thunderbird and pasted the email adres from the Filemaker record directly in the TO: field. However with the mail or Url open function I cannot from within FM9 automatic paste the email adres in the To: field of Thunderbird. Any hint how to write such a script for Thunderbird?

  5. Dempsey Says:

    Is thunderbird your default email client?

    You could try doing Send Event Open “thunderbird -compose to=’address@provider.com”

  6. Jan L.F. Bos Says:

    Have just found a solution working with Thunderbird:

    From within Filemaker 9 persons individual record, with Thunderbird as my default email program, I wanted:

    - have in the Filemaker record a button that would open in Thunderbird a new blank email, however
    - also directly paste from that Filemaker record the email address in the “To:” field in Thunderbird

    Solution:
    - assume you already have in the record a field with the individuals email address, say “Email”
    - create a new field, Type Calculation, say ”Email Thunderbird”
    - the calculation to be “mailto:” & E Mail
    - the calculation result to be Text
    - Now create a script, say “Emailscript Thunderbird”
    - Select URL open, select the Field ”Email Thunderbird” and either Yes/No dialogue
    - Create a button and direct it to the script “Emailscript-Thunderbird”

  7. Dempsey Says:

    Thanks for sharing your solution Jan :)

Leave a Reply