Jump to content

mailto: question


murfitUK

Recommended Posts

Just a quick one.I've got a link to create an email:<a href="mailto:enquiries@address.com?subject=ENQUIRY">email</a> etcwhich opens up Outlook (or the default email client), creates a new email and sticks the address and subject in the proper fields. The cursor, however, stays at the beginning of the subject line.Any way of moving the cursor to the big message field so the user can start typing straight away.I know it's not a major problem but it would be handy to be able to do it.Thanks.

Link to comment
Share on other sites

I don't think there is... but is it too much trouble for the person writing the email to just focus the text box?

Link to comment
Share on other sites

I would highy advice you not to use the mailto: link as bots spider websites to collect email addresses for their spam/virus mailing lists. Do something like this:

someone [at] w3schools [dot] com
After all, most people use external email service either way, so a clickable link is just in the way.- Moridin
Link to comment
Share on other sites

  • 3 weeks later...
Just a quick one.I've got a link to create an email:<a href="mailto:enquiries@address.com?subject=ENQUIRY">email</a> etcwhich opens up Outlook (or the default email client), creates a new email and sticks the address and subject in the proper fields. The cursor, however, stays at the beginning of the subject line.Any way of moving the cursor to the big message field so the user can start typing straight away.I know it's not a major problem but it would be handy to be able to do it.Thanks.
You might like to try using this code instead:<a href="mailto:enquiries@address.com?subject=ENQUIRY&body=Text here to delete">email</a>Then they will actually know to delete it hence bringing them to the body of the email! But you can only use up to 30 words for this.
Link to comment
Share on other sites

I dont think this is possible. What your saying is when someone clicks the link it stays focused on the subject input line?I dont think that would be too much hassle anyways. Try googling it?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...