1 of 1 people found this helpful
-1 error is an unknown error. It usually occurs in this case where filemaker gets an unexpected response from the external app it's trying to use.
If windows mail is set as the default mail program on the PC, then try using the "Open URL" script step instead to open a new email.
Note the example #3 in the documentation covers this method:
and you can augment the call string with the standard mailto: link parameters:
mailto | HTML mailto link
Thank you for the reply and suggestion. I believe that open URL Script step can send emails via Windows Mail, but I already have probably around 50-75 send mail script steps already programmed on this particular database that work on my desktop computer with Outlook. These send mail via client script steps also work great on iOS FileMaker go and Web direct but not on my laptop that doesn't have Outlook. I was just trying to be able to access the solution from my laptop which doesn't have Outlook and I don't really want to purchase and install outlook on it if I could just make it work with "windows mail" instead. I also don't want to rewrite 50 to 75 Script steps. Is it not possible to use send mail via client script step to work with "windows mail"?
I have exactly the same problem. Initially I get something like 'There is no mail programme. Set one as a default or download one blah blah....' - even if you set Windows 10 Mail as the default programme on your laptop Filemaker will not see it. I think this is something Filemaker will need to address. Like you I have many email scripts in databases and I have an increasing number of clients who can't use the email as they use Windows 10 Mail.
Hopefully someone will come to your rescue (Filemaker?)
Thank you for validating the problem Mark! It is always nice to see someone confirm the issue so I know it's not just me and hopefully FileMaker will address is or tell us how to solve it.
Doubt that FMI see it as a FM issue. To use Windows Mail you will most likely have to uninstall Outlook or use the steps that Mike Beargie suggest in his post.
How can I uninstall Outlook when it was never installed?
A lot of developers are now developing with WebDirect very much in mind. That is my problem. With one particular client, they have nearly 1000 users (thankfully not all at the same time!) and these are all webdirect users. The std email script doesn't launch Mail in Windows 10 but it does launch every thing else correctly.
I have used the open URL script instead and that is effective yet has other problems - if users have 'block pop-ups' switched on then this doesn't work properly either.
I am suggesting all the Users at this client do not use Mail for now.
Hope this helps. I am looking into some better scripts but for now this is what I am testing:
(specify) "mailto:" & yourfieldname & "?subject=SubjectHeaderText” & yourfieldname
You can add Body text and CC and BCC if you want to. See this link
(take out the <> parentheses by the way when you use the scripts.)
If I find a better solution I'll let you know.
Outlook has to be installed if FM is using it. Most new computers come with a trail version of Office install.
Yes true but I try to script for all client eventualities. This client has Users who work from home sometimes and they are starting to get newer laptops that come with the free Mail (windows 10) software. FM should figure a way to fire Mail up as well as Outlook. I can't expect clients to always pay for Outlook. I should say again that Open URL as an alternative does fire Mail up but only if they don't have Pop-ups blocked in their browser.
I am experimenting with work arounds though so I might find a solution.
Win10 Mail is not MAPI compliant. It's not going to work with FMP.
Thunderbird is preferrable, it works fine on FM16 / Win10 (but not supported).
Thank you for the update on MAPI compliance being the issue. I did not know the Windows mail was not MAPI compliant. Hopefully Microsoft will make it MAPI compliant or FileMaker will make FileMaker able to send via Windows mail as it would be nice since everybody doesn't have Outlook.
Thank you for the Thunderbird tip. I just installed it to try it and it seems to be working with Thunderbird on my 64 bit Windows 10 machine with FileMaker Pro 16 Advanced. Thank you!