Forum Moderators: open
To: you@yourdomain.com
Subject: Test
Body: Click HERE to go to the webpage.
When I put the <a href> tag into <a href="mailto:"> it breaks the original <a href> link.
I would appreciate any help if there is any way around this that anybody can think of?
Cheers
Dave
Solicitors enter clients details into a SQL-Server DB via our intranet. All the other solicitors have to check on the intranet for possible conflicts. If they are aware of a conflict, we want them to be able to click on the relevant record to generate an email to the originator with a link back to the record in question.
I hope that makes sense to you.
13.2.3 Nested linksLinks and anchors defined by the A element may not be nested.
ILLEGAL EXAMPLE:
The following example illustrates nested links. Nested links are not permitted.This text contains
<A name="outer-anchor" href="next-outer.html">an outer anchor and
and link and <A name="inner-anchor" href="next-inner.html">an inner
anchor and link.</A></A>
As you seem to be talking about email within an intranet system you might consider using an email client that recognizes extentions i.e. "?Subject=****&body=****".
As you seem to be talking about email within an intranet system you might consider using an email client that recognizes extentions i.e. "?Subject=****&body=****".
I believe that's what the initial post was about all along ;)
...something like:
<a href="mailto:foobar@example.com?Subject=Test&Body=Click <a href='http://www.example.com'>here</a> to go to the site">E-mail</a>
I meant something like the following change to DrDoc's example:
<a href="mailto:foobar@example.com?Subject=Test&Body=Click href='http://www.example.com'hereto go to the site">E-mail</a>
It drops the inner <a> and in many email clients just the url itself will auto generate a link.
Just pass on the url in plain text. Some folks don't have HTML enabled inboxes and the code will show up causing further confusion.
You should really be running a script for this. We use ASPmail and a simply response/request for stuff like this.
Anything worth doing is worth doing right - and your idea is simply not the most efficient way to go about it. However, doing it the other way may require more knowledge than you currently have on the subject.
I would suggest looking for a free mail script in either ASP or PHP.
It drops the inner <a> and in many email clients just the url itself will auto generate a link.
Sometimes, the simplest things work!
By removing the inner <A> tags, Outlook has resolved the link itself. Since everybody in the company has then same software throughout, this approach is fine.
Thanks for all your help everybody.
Dave