473,940 Members | 7,758 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Links inside MailTo subject

6 New Member
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
Dec 20 '07 #1
2 2345
improvcornartist
303 Recognized Expert Contributor
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 >.
Dec 20 '07 #2
eWish
971 Recognized Expert Contributor
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
37714
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. Any ideas how the tags could be bypassed? Though i am not a web page designer, I tried &amp; but with no luck. Any help would be highly appreciated.
15
29935
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 href="mailto:nobody@nowhere.com ?subject=Your web site &body=This%20is%20the%20%body!"> click here</a>
13
3816
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: some_email_address">some_address</a>'); </script> <noscript>
18
28392
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 Schmoe</a>. When this link is clicked, an email window appears in the clicker's email client where the To: field is jschmoe@abc.com. What I want to have displayed there is Joe Schmoe. I've seen it suggested that formatting the link like this: <a...
4
7916
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 way Pls help me TP
7
1311
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" as a single line rather that generation an email? <HTML>
3
2234
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 said This is what I want to do. I have a simple html form with a an radio button option group, a listmenu, a text box, and a text area. What I would like to do is have a user fill out this form, and hit a button that sends the results via...
10
17312
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 href="mailto:registrar@econ.com?cc=webmaster@econ.com?subject=Login Problems">The Registrar at econ.com</a>
7
15887
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 String, _ Optional ByVal Subject As String = "", Optional ByVal Body As String = "") As Boolean Dim bAns As Boolean = True Dim sParams As String sParams = EmailAddress If LCase(Strings.Left(sParams, 7)) <> "mailto:" Then sParams = "mailto:" &
0
9963
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
11293
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9858
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8218
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7389
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6297
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4908
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4447
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3505
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.