Occasionally, when users try to send email from Windows machines, their default email client does not open.
The only thing that I can think is that something (e.g. a special character) in my email_string is causing windows to not open the default email client.
No errors are shown to the user. Nothing is logged on the server. When the debugger is turned on, it never complains, etc.
On your PC, goto My Computer, the Tools drop down, Folder Options, File Types tab, scroll down to htm and html. Do the File Types say URL:HyperText Transfer Protocol and HTML File or Internet Explorer or something else like FireFox?
If URL:HyperText Transfer Protocol doesn’t work, then try IE or even setting it to Outlook.
Harjo’s tip to send an e-mail from Seervoy Smart Client with Mail by application.showURL(params) without opening a empty browser page unfortunately don’t work currently on Mac OS X (10.9, 10.10).
Is there a way to get this working only by opening the Mail form?
It would also be great to be able to attach PDF’s to the Mail send form.
Does anybody knows a solution to do that by the standard e-mail programs on Mac AND Windows?
Back in 2006 OS might have reacted a little bit different.
Why don’t you create a form to build the email message, including pdf (file plugin with type filtering)
On submit you can send out the message using the mail plugin.
This solution works exactly the same for Mac/Windows and you’re even more flexible pre-populating addressees, subject, body
Using the ‘mailto’ tip might restrict you to a number of characters.
you are right, but customers would like to send their e-mails by the Mail program.
Of course I can always send a second e-mail to a seperate account to have organized all e-mails in the Mail program.
But it is more complex to make a solution for creating an e-mail with content incl. a PDF, to display it as preview and to execute sending like an e-mail program.
I think you could use AppleScript for this. Servoy can execute applescript (search the forum, several topics on that). I’m sure you can find many examples of sending email via AppleScript. So just tie those two together, and it should have what you need.
Thank you Scott,
I will give it a try.
I also will create a support ticket as feature request. Perhaps the Servoy guys take a look on it for an implementation.