mailto with link in the body

In ASP.NET
In the following code I want to create mail and in the body to have a link to a site and I want the link to be clickable. Now it is not. How do I fix it to be clickable?
thankyou

<html>
<body>
<a href="mailto:?subject=this is the subject
&body= go to this site  http://www.experts-exchange.com"> send mail</a>
</body>
</html>

Anat
<html>
<body>
<a href="mailto:?subject=this is the subject
&body= go to this site  http://www.experts-exchange.com"> send mail</a>
</body>
</html>

Open in new window

ANAT2403Asked:
Who is Participating?
 
Amandeep Singh BhullarCommented:
You are trying to send a Formatted HTML mail with "mailto" tag.
Which is almost not possible. You can send simple text mail using this tag.

You can write the tag as
<a href="mailto:user@e-e.com?subject=Feedback&body=go to this site  http://www.experts-exchange.com">Send me an email</a>

Will this be displayed as link in received mail, is dependent on client.

If you want to send a formatted mail, write down the server code for this.
0
 
StealthyDevCommented:
Hi, this should work:

<a href= "mailto: a@b.com?subject=Web Page Email&body=This email
is from your website" >
Send Mail</a>
0
 
techsathishCommented:
Hi ANAT2403,

Try this
<html>
<body>
<a href="mailto:admin@admin.com?subject=this is the subject
&body= go to this site  http://www.experts-exchange.com"> send mail</a>
</body>
</html>

Open in new window

0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Amandeep Singh BhullarCommented:
Check the attached code.
<html>
<head>
</head>
<body>
<a href="mailto:user@e-e.com?subject=Feedback for 
experts-exchanges.com&body=The Tips and Tricks section is 
great">Send me an email</a>
</body>
</html>

Open in new window

0
 
StealthyDevCommented:
0
 
ANAT2403Author Commented:
What's going on?
Nothing is working!!!
I copied  the code to  a file with html ext
I ran the file, It opens the outlook and when I click what is written in the body I can't click it and it
links to nowhere.
Did anybody try the code?
Anat
0
 
techsathishCommented:
Code is working fine in my PC... i tested with IE 8 and FF 3.6
0
 
StealthyDevCommented:
It will work.

If you are running IE, check what is your default E-Mail Client using:

Tools->Internet Settings->Programs->Email

Regards
0
 
ANAT2403Author Commented:
I have explorer 6
0
 
techsathishCommented:
IE 6 also working fine here... What error ur getting...
0
 
ANAT2403Author Commented:
senthurpandian and Amanbhullar didn't even put a url in the body of the email to send !!!!
techsathish returned almost the same code I entered.
Again I explain:
I manage to open the outlook and I get a mail and in the body it is written
go to this site  http://www.experts-exchange.com
I want to click this and link to experts-exchange site.
Did anybody succeeded to do this?
Thankyou
Anat
0
 
techsathishCommented:
May be the problem with your E-Mail Client...

Plz see the senthurpandian comment #32135553
0
 
ANAT2403Author Commented:
I have no problem with my E-mail Client because I enter the outlook
I just can't  L I N K   T H E  U R L  I N T H E   B O D Y   O F   T H E  E M A I L
I also tried in Explorer 8 and it didn't work

Anat
0
 
ANAT2403Author Commented:
Do I have to put another a href inside the body in order to link to the new site?
Can anybody help?
Anat
0
 
techsathishCommented:
Am using outlook 2008. in that automatically changed the as link. What version of outlook ur using...
0
 
ANAT2403Author Commented:
I am using outlook 2007, outlook 2003, outlook express I have 3 computers, please this is not the point and the direction. I want to see a CLICKABLE address inside the body of the mail and I don't.
Do you see? when you press inside the created mail on the experts-exchange link do you move to
the site?

The question here is how to write the part:
*******************************************************************************
&body= go to this site  http://www.experts-exchange.com">      *
*******************************************************************************
this part has errors, I am sure. How should I write it properly.
Please all of you try to go to this direction and solve my question!!!!
Thankyou
Anat
0
 
StealthyDevCommented:
It sounds like a problem in your outlook installation.

Please find the code below and the screenshot in the consecutive post.

Please change your configuration to:
Internet Explorer-Internet Options-Programs-E-mail:Outlook Express

Regards.
<html>
<body>
<a href="mailto:xyz@abc.com?subject=this is the subject
&body= go to this site  http://www.experts-exchange.com"> send mail</a>
</body>
</html>

Open in new window

0
 
StealthyDevCommented:
Find the screenshot of the executed link as below:


seeThis.JPG
0
 
Amandeep Singh BhullarCommented:
0
 
StealthyDevCommented:
@ANAT2403:
Do you see? when you press inside the created mail on the experts-exchange link do you move to
the site?

In create mail, you cannot click the link. Just send it to some mail id and receive in a client like outlook/gmail.

Then you can open the link by clicking it.
0
 
ANAT2403Author Commented:
Hi
Yes yes 2 minutes before you wrote your last comment I understood where is the problem.
I expected to have the clickable link in the mail I prepare but it will be clickable only in the mail recieved.
Thankyou
I will give you the points AmanBullar and senthurpandian but there is just one more thing.
I don't want the address of the experts-exchanged to be seen in the mail. I want just the
'go to this site' to be seen. How do I do it?
I don't care to open a new question for this if it is required.
Thankyou
Anat
0
 
StealthyDevCommented:
"AmanBhullar" has already addressed this. ( #32144006 )

You cannot do this.
0
 
ANAT2403Author Commented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.