Link to home
Start Free TrialLog in
Avatar of levdt
levdt

asked on

Formatting contents of mailto tag

I want to include an email address on a web page which can be clicked on thus opening the visitors default email client with the email address pre-filled. I also want to format (using bold, italics tags etc.) the body of the email. I can't use any server side scripts as I am using a CMS which does not allow me access to the server the site is hosed on.

So is there any way of using HTML and/or Javascript to format the body of the email? I can use HTML to have linebreaks in the body of the email (as in the code fragment below) but when I add bold, italics tags etc. it does not seem to work. Any ideas?
<P>Click <A href="mailto:person@mailhost.com?SUBJECT=Centaur%20Telephone%20Directory&amp;body=Dear%20User%0Ablah%0Ablah%0Ablah>here</A>.</P>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of webwyzsystems
webwyzsystems

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of levdt
levdt

ASKER

Thanks a lot for clarifying that.