SemAnt

Thursday, August 10, 2006

So that's how they do it - adding a message to mailto

The href="mailto:" tag is useful, and I know how to add a subject, but today I learnt how to add a message as well. The example comes from the DOI web site:

This bit of code:

<p>If you believe you have requested a DOI name that should be found, you may report this error to
<a href="mailto:doi-help@doi.org?subject=DOI Not Found&body=The%20following%20DOI%20was%20not%20found:%0D%0A...f">doi-help@doi.org</a>.
<b>Please include information regarding where you found the DOI in your message: http://www.journals.royalsoc.ac.uk/....pdf</b></p>


Gives this result:

If you believe you have requested a DOI name that should be found, you may report this error to
doi-help@doi.org.
Please include information regarding where you found the DOI in your message: http://www.journals.royalsoc.ac.uk/media/d6lntlwywjn3hdu6ekdw/contributions/0/5/8/3/058352377848735w.pdf



The &body= tag gives the text of the email message. Neat.

2 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home