Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Open email client from script?

Fractality Birks
Registered User
Join date: 14 Oct 2006
Posts: 15
06-28-2007 16:39
Hello,

my client wants to open the visitors email client so that they can proceed to send him an email (basically a "contact me" button). He claims he has seen such things in SL, but I have not yet found a way to do it. Is it possible?

My only thought so far is to open a webpage and do it from there, but I am also not sure if JavaScript would be able to do it (open a mailto:... link).

Help would be greatly appreciated ;-)


Fractality
DoteDote Edison
Thinks Too Much
Join date: 6 Jun 2004
Posts: 790
06-28-2007 18:42
Try llLoadURL() and pass whatever URL your would pass from a normal web-based "contact me" button. Or pass parameters that will cause the receiving URL to open a "send email' pop-up.

http://www.lslwiki.net/lslwiki/wakka.php?wakka=llLoadURL

For example, I have no idea if this would work, but try:
llLoadURL(id, "Click OK to email", "mailto:your_name@domain.com";);
Fractality Birks
Registered User
Join date: 14 Oct 2006
Posts: 15
06-29-2007 00:09
Thanks, I had actually suggested that to the client, but he said it didn't work. The documentation also states that llLoadUrl onle works on http:// and https://