mIRC Home    About    Download    Register    News    Help

Topic Options
#165696 - 29/11/06 08:17 AM Mailto link
RusselB Offline
Planetary brain

Registered: 03/08/04
Posts: 7252
Loc: Ontario, Canada
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).

Top
#165697 - 29/11/06 08:35 AM Re: Mailto link
b1ink Offline
Vogon poet

Registered: 16/10/06
Posts: 166
Loc: Kuwait
Code:
/run mailto:[color:red]your email[/color]

example: mailto:khaled@mirc.com
_________________________
Kind Regards, blink

Top
#165698 - 29/11/06 08:38 AM Re: Mailto link
b1ink Offline
Vogon poet

Registered: 16/10/06
Posts: 166
Loc: Kuwait
You could also select the subject:

Code:
mailto:your@email.com?subject=Hi%20russelb
_________________________
Kind Regards, blink

Top
#165699 - 29/11/06 02:35 PM Re: Mailto link
Riamus2 Offline
Planetary brain

Registered: 13/10/04
Posts: 8327
Loc: MA, USA
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

Top
#165700 - 29/11/06 11:00 PM Re: Mailto link
RusselB Offline
Planetary brain

Registered: 03/08/04
Posts: 7252
Loc: Ontario, Canada
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.

Top
#165701 - 29/11/06 11:53 PM Re: Mailto link
LonDart Offline
Vogon poet

Registered: 21/07/06
Posts: 107
Loc: Virginia USA
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

Top
#165702 - 30/11/06 12:48 AM Re: Mailto link
Riamus2 Offline
Planetary brain

Registered: 13/10/04
Posts: 8327
Loc: MA, USA
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

Top