How to add html into a body of an email using <a mailto:...?

Discussion in 'JavaScript' started by Betty_S, Aug 21, 2007.

  1. #1
    Hi,

    I wrote this:
    <a href="mailto:?subject= this the subject&body=this is th body>send mail</a>
    Code (markup):
    However,I don’t to write flat text in the body. I want to add '<br/>' and an '<a>' tag in the body.
    I tried:
    <a href="mailto:?subject= this the subject&body=Hi <br/> this is th body <a href='blabla'>click here</a> ">send mail </a>
    Code (markup):
    But of corse it didn't work
    How to add html into a body of an email using <a mailto:...?

    Thanks.
     
    Betty_S, Aug 21, 2007 IP
  2. ssanders82

    ssanders82 Peon

    Messages:
    77
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Just a guess, but try converting the < and > to &lt; and &gt; in the body= parameter?
     
    ssanders82, Aug 24, 2007 IP