473,396 Members | 1,990 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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:sample@sample.com?&Body=<a href="www.google.com">Google</a>">Click Here</a>[/HTML]

But it didnt work.

Any suggestions in this regard?

Thanks in advance
Anand Iyer
Dec 20 '07 #1
2 2323
improvcornartist
303 Expert 100+
You might try [HTML]<a href="mailto:sample@sample.com?body=<a href='www.google.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 >.
Dec 20 '07 #2
eWish
971 Expert 512MB
To get a subject line you need to have the link like so.

Expand|Select|Wrap|Line Numbers
  1. <a href="mailto:someemail@myplace.com?subject=Your Subject Here">Email Link</a>
Trying to include a click-able link it has not work in my experience. The subject line is rendered as text not HTML.

--Kevin
Dec 21 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Krishna A.M | last post by:
Hi, How do i add a hyperlink to a email id having special characters? I tried the same , say mailto: test_&_send@hoohoo.com IN the to box i can see only till test_ and the rest is omitted. ...
15
by: Val | last post by:
Any experts on mailto: tags? I want to set a link so that the subject and some of the body of the email is filled in. This is easy for simple text, although you need to use %20 for spaces: <a...
13
by: Jeff Thies | last post by:
It's occured to me that most SPAM bots are looking for mailto links (that's assuming they didn't harvest from usenet!). So: <script type="text/javascript"> document.write('<a href="mailto:...
18
by: Shinin | last post by:
I am trying to set up a mailto: link so that the actual address that the email is being sent to is obscured and replaced by a name. For example, I have <a href="mailto:jschmoe@abc.com">Joe...
4
by: tp | last post by:
HI... I have created simple .asp page and i would like to send my page as email using my outlook . is it possible to send form body as new email outlook body using mailto command or any other...
7
by: Steve Wright | last post by:
Can someone please tell me why the following code generates a new page with "mailto:wright@wcc.govt.nz"?Subject= "RAMM Record Carriageway Resurfacing Record" Method="POST" enctype="text/plain" ...
3
by: Yogi_Bear_79 | last post by:
I am building a stand alone html help system (.chm.) So the usual woes with mailto are not going to be encountered. Likewise I am ensured all my intended users have Outlook installed. With that...
10
by: Adam Smith | last post by:
How can I set up a mailto with a cc or bcc as well as a subject designation. The system works for two but not three, is this a hardwired limit or have I missed something ==> <a...
7
by: Paul Bromley | last post by:
I am using mailto to open the default e-mail program on the users machine using the following function code snippet that I found on th web.:- Public Function OpenEmail(ByVal EmailAddress As...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.