#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2013
    Posts
    6
    Rep Power
    0

    Link in body text of mailto


    Hi,

    I want to insert link in the body text of 'mailto:'. I am using below tag. When i am using anchor tag for link text, it display the tag as it is in the body part of mail after clicking. Can anybody help me to fix this issue.
  2. #2
  3. A Not To Shabby Code Smurf
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Aug 2008
    Posts
    1,158
    Rep Power
    184
    The best way, to do this; would be to do it like so:
    Code:
    <a href="mailto:me@mail.com?body=http://www.google.com">Email Me</a>
    I think that is about the best your going to be able to achieve, because the body of most email client is not set to rich media or text/html; I think by default..., most clients are set-up to interpret, the body, as plain/text.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2013
    Posts
    6
    Rep Power
    0

    link on body text in mail


    Thanks for replying. But i want the result without http, like we are using in html. We make a link in html by using anchor tag, so that only text visible, and the linking url are become hide.
  6. #4
  7. A Not To Shabby Code Smurf
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Aug 2008
    Posts
    1,158
    Rep Power
    184
    You can insert it; but more then likely, it is going to be display as plain/text. That's what I was trying to explain; most email clients are set-up to display plain text by default. This is because of the security issues, that can occur, when the end user (the person who receives the email) views a html embedded email.
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2013
    Posts
    6
    Rep Power
    0
    Thanks.

IMN logo majestic logo threadwatch logo seochat tools logo