Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mailto command appends /start to e-mail address

Status
Not open for further replies.

simplexion

Programmer
Jul 29, 2003
5
US
Curious if this has happened to others:

I have an HTML line that looks like this
Code:
<a href=&quot;mailto:address@isp.com&quot;>contact us</a><br />
.
When I've tested the link, the 'to:' address is listed as follows: address@isp.com/start. Any answers as to why /start would be appended to the end?

If I add a subject line such as
Code:
 <a href=&quot;mailto:address@isp.com?subject=Test&quot;>contact us</a><br />[code], the 'to:' line is the correct address; but the Subject line is listed as follows: Test/start.

Any advice would be appreciated.
 
What you've posted works fine for me (IE6, Outlook 2000)

Try testing your code in isolation, (blank HTML file with just the <a> tag in the body) and see if you get the same result.

If so - some sort of browser/email client problem.

If not - something to do with the code on the particular page.
 
Also works fine in Lotus Notes/Win2K.

dwarfthrower's suggestion of testing in isolation should be the first step.
You could also post a link to the page if you have it online and we could test it.




- É -
 
Okay so I have tested the code in total isolation. Same thing as before. I have uploaded the page to this URL:
Same thing as before. I wrote the HTML in Windows XP Pro Notepad, and my defaulted e-mail (which comes up automatically when I click the link) is Hotmail. Feel free to check out the page to see if you can come up with an answer to this odd error.
 
No idea what the problem is to be honest, it works fine on my system.
sorry I can't help, maybe someone with a better knowledge of these things...




- É -
 
That works fine for me too.

What browser and email software do you use?

What effect do other mailto links - from other web sites -have on your system?
 
Thanks to all who tried to figure this out. As Wullie pointed out, it seems to be a problem with Hotmail only; works fine for Outlook Express. Hotmail does the same thing for all 'mailto:' links, so it is a good argument for NOT using them or it at all:} As for me, I'll stick to forms from now on.

Thanx again all.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top