Links inside MailTo subject

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Anand Iyer
    New Member
    • May 2007
    • 6

    Links inside MailTo subject

    Hi All

    I want to have a link inside the subject attribute in the mailTo function. Is there any way to do this? I tried the following:

    [HTML]<a href="mailto:sa mple@sample.com ?&Body=<a href="www.googl e.com">Google</a>">Click Here</a>[/HTML]

    But it didnt work.

    Any suggestions in this regard?

    Thanks in advance
    Anand Iyer
  • improvcornartist
    Recognized Expert Contributor
    • May 2007
    • 303

    #2
    You might try [HTML]<a href="mailto:sa mple@sample.com ?body=<a href='www.googl e.com'>Google</a>">Click Here</a>[/HTML] The & might be causing confusion in the browser, and the double quotes around the href address would close your string sooner than you want. You may also need to use escape characters for < and >.

    Comment

    • eWish
      Recognized Expert Contributor
      • Jul 2007
      • 973

      #3
      To get a subject line you need to have the link like so.

      [CODE=HTML]<a href="mailto:so meemail@myplace .com?subject=Yo ur Subject Here">Email Link</a>[/CODE]

      Trying to include a click-able link it has not work in my experience. The subject line is rendered as text not HTML.

      --Kevin

      Comment

      Working...