[quote=127749:@Tomas Jakobs]Really? I do not own Win8.x but as far as I know there is still an Email App left in Win8:
http://apps.microsoft.com/windows/de-de/app/mail-calendar-and-people/64a79953-cf0b-44f9-b5c4-ee5df3a15c63
If you use Services like Hotmail, Gmail etc. without any Email App, this won’t work.[/quote]
Thank you for posting this. I was not aware of that particular app. But contrary to Outlook Express in Windows 7, it is not bundled as default in Windows 8. One has to go to the Windows Store and download it from there.
That lack of email client in Windows 8/8.1 is a thorny challenge when it comes to add email capabilities to a Xojo app. While mailto: works flawlessly on every other computer, it simply does nothing there. I find that quite preposterous from Microsoft, since email is now part of everyday life. But who am I to argue the desktop leader ?
Let us say I want to create an app that send email through mailto: which can perform adequately under Windows 8.
After checking that the app is running in Windows 8, I need to check if an email client is installed. It should be possible to dig somewhere in the registry to find out if an app has been assigned to mailto:.
If no email client is present, it becomes a mess. You can use SMTP socket directly from within the app, which would seem the simplest solution, but how do you manage the somewhat complex email settings ? Will the user know what to do ? Alternatively, you can provide your own SMTP server, but run a terrible risk that a user uses that for spamming and your domain gets blacklisted.
Then there are the major web based mail services. I just tried the method I posted above for hotmail. It works fine, expect the search in the URL bar can interfere. I have recently switched search to duckduckgo, and guess what ? The tip I posted no longer works. Sorry.
Do web mail services provide some sort of URL arguments API that allows some sort of mailto ?