Forum Moderators: open
<a href="mailto:recipient@example.com?subject=This is the subject line">mailto link</a>
These days I find webmail so convenient that one of my two machines doesn't even have an email client configured. I also know quite a few people who do use webmail exclusively. Personally I woudln't dream of excluding a such large proportion of my visitors by using a mailto.
I have a contact page on my site with e-mail and a feedback form too that uses the form to mail software on the server I've got, but it's a reasonable sized site with news of different projects here and there and the odd mailto link just seems to be nice and handy. It's a community based site which I'm estimating isn't going to have a huge amount of traffic haha but I really don't have an 'average user' type estimated, so I'm trying to make it easy as possible for everyone.
I wanted to use the mailto link as I have a feedback@ and an info@ address where people might want more info on a particular story, and I thought the easiest way to do this and make it useful as possible for the person recieving it would be to specify some basic body text and a title relevant to the context the mailto link is in.
I hope that made sense.
Maybe I'm being a bit old fashioned tho!? I'm only aware of having a form for the user to fill out online, or a mailto link.
Thanks for the help!
You mean having a form is better?
I would say a lot better.
A huge number of people only use web-based email (Gmail, Hotmail, whatever) and will be unable to use the (unconfigured) default email client that you launch for them from the "mailto" link.
There is nothing to stop you specifying the subject and some default text in a form.
...
[edited by: Samizdata at 5:13 pm (utc) on Nov. 12, 2008]
Can you do it with some kind of hidden form or something?