mIRC Home    About    Download    Register    News    Help

Print Thread
#165696 29/11/06 08:17 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
I'd like to create a link in my dialog that will allow the user to send me an e-mail by clicking the link. I thought I'd seen something earlier, but a search over the past 5 years ended up giving me either 8 results (which were technically related to my search parameters) or over 300 results (I didn't feel like trying to pick through them).

#165697 29/11/06 08:35 AM
Joined: Oct 2006
Posts: 166
B
Vogon poet
Offline
Vogon poet
B
Joined: Oct 2006
Posts: 166
Code:
/run mailto:[color:red]your email[/color]

example: mailto:khaled@mirc.com


Kind Regards, blink
#165698 29/11/06 08:38 AM
Joined: Oct 2006
Posts: 166
B
Vogon poet
Offline
Vogon poet
B
Joined: Oct 2006
Posts: 166
You could also select the subject:

Code:
mailto:your@email.com?subject=Hi%20russelb


Kind Regards, blink
#165699 29/11/06 02:35 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
I think you could also use /link so it is an actual link rather than a button that uses /run...

/link mailto:your@email.com?subject=Hi%20russelb


Invision Support
#Invision on irc.irchighway.net
#165700 29/11/06 11:00 PM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline OP
Hoopy frood
OP Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Unfortunately, Riamus, when I tried /link I got an Unknown command error. /run works fine..I'll just have to include a check to determine if the /run command has been disabled or not.

#165701 29/11/06 11:53 PM
Joined: Jul 2006
Posts: 107
L
Vogon poet
Offline
Vogon poet
L
Joined: Jul 2006
Posts: 107
I find that on my machine using

Code:
  /url -n name@server 


opens my email client with the email address inserted.

I'm using mIRC 6.17 on WinXP Home with OE6 as my email client.


LonDart
#165702 30/11/06 12:48 AM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Use this in the dialog creation:

link "your@email.com",ID,x y w h

And in sclick:

if ($did == ID) { url -n mailto:your@email.com?subject=Hi%20russelb }

That will let you use a link and it works with Outlook and should with any others as well.


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard