Jump to content

open default email and insert string/url from a variable into the body


Dville

Recommended Posts

Basicly what I'm looking to make is a link that will open up the visitor's default email, and insert a variable into the body of the new email. Allowing the user to fill in the to: field, and subject field. . .and thus allowing them to send the email themselves.

An example can be found at www.digg.com
If you're looking at a list of articles, there's a link for each article that says 'email this'. Except instead of having the site send the email. I'd rather it just open the user's default email client.

I already have the variable $url, which olds the url of the article in question. So all I need help on is opening the default email client, and insterting the variable into the body.


Thanks in advanced to anyone who can help.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.