application.showURL with mailto

Questions, tips and tricks and techniques for scripting in Servoy

application.showURL with mailto

Postby stefbrt » Thu Jul 12, 2012 3:59 pm

Hi

I want to execute application.showURL with mailto in SmartClient but it does not work. It works with a normal URL but not with mailto. Where is the problem with this code?

Code: Select all
application.showURL('mailto:your.friend@doesntexist.com?cc=another.friend@doesntexist.com,yetanother.friend@doesntexist.com&bcc=yourboss@doesntexist.com&reply-to=me@myadress.com&subject=mailto%20scheme&body=Hello%20Everybody');


Regards, Stef
Stefan Brecht
7r ag, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
stefbrt
 
Posts: 152
Joined: Wed May 06, 2009 9:32 am
Location: Switzerland

Re: application.showURL with mailto

Postby mboegem » Fri Jul 13, 2012 12:36 am

Hi Stef,

works fine for me.

What svy-version / OS (+version) is this?
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1742
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: application.showURL with mailto

Postby Harjo » Fri Jul 13, 2012 8:27 am

In 2006, I posted this HOWTO: viewtopic.php?f=12&t=5736&p=28293&hilit=mailto#p28293

should also still work
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: application.showURL with mailto

Postby stefbrt » Mon Jul 16, 2012 8:34 am

@marc: I'm working on Mac OS X 10.7.2 with Servoy 5.2.13.

@harjo: The Idea came from the Tutorial. But for the Mac OS X Version I need showURL and for Windows I can execute the run32dll.

Regards, Stef
Stefan Brecht
7r ag, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
stefbrt
 
Posts: 152
Joined: Wed May 06, 2009 9:32 am
Location: Switzerland


Return to Methods

Who is online

Users browsing this forum: No registered users and 11 guests