I’ve been able to set up HTML code on a web page to launch a new browser window and open the selected web mail account. I want to replicate this in Servoy. The problem is that even though the “Using Your Gmail Account” is highlighted as a clickable item, nothing happens. What am I missing here? Is it even possible from within Servoy to launch a web browser with specific requirements like this?
I was just about to post another comment here looking for help on just that. When I run the program through developer the email works like a charm. When I run it stand alone as the smart client I get nothing, but through the web client everything works fine… now after playing around a bit I need some more detailed help…
This is what I have so far:
I have set a variable as the dataProvider as
var gmail = '<html><a href="https://mail.google.com/mail/?view=cm&fs=1&to=info@xyz.com&su=From Account " target="_blank">Using Your Gmail Account</a></html>'
This works great in developer and as a web client so now onto the smart client…
This is what I have for the smart client
function openGmail(event) {
if(application.getApplicationType()==APPLICATION_TYPES.SMART_CLIENT){
application.showURL('https://mail.google.com/mail/?view=cm&fs=1&to=info@xyz.com&su=From Account );
}
}