2

Is there any way to add a HTML link to the body of a mailto email?

I know this is possible with activeX but I can't use that (I need it to work in other browsers than IE)

Something like this:

 body=<a href='http:www.test.com'> link </a>
 window.location.href = "mailto:" + emailTo + "?subject=" + subject+ "&body=" + body;
user3378165
  • 5,837
  • 17
  • 57
  • 93

2 Answers2

0

Give this a try:

Place the full url in the body variable when a mailto link is created.

<a href="emailadress?Subject=Test&body=go%20to%20this%20link%20for%20me:%20http://stackoverflow.com">mailto</a>

The URL needs to have a full path. All email clients should be able to make this into a link when a mailto link is clicked.

Cheers

Sandy Gifford
  • 6,092
  • 2
  • 32
  • 59
Syfer
  • 3,997
  • 2
  • 19
  • 36
-1

This Will Help You

http://www.html-form-guide.com/email-form/email-form-mailto.html

is there anyway to SEND eMails in intranet environment without using SMTP in C#.net?

Community
  • 1
  • 1
Divya
  • 1,381
  • 1
  • 12
  • 25
  • Thank you, but I do not see how it can help me, I'm looking for a client side solution to add a HTML link to a body of an email without using activex. – user3378165 Feb 15 '17 at 09:17