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!

Upper case in mailto link

Status
Not open for further replies.

bjanssen

Programmer
Mar 11, 2001
10
AU
Hi,
I am having difficulty getting uppercase in the subject of my mailto link (or any of it really).
I am trying to do:
<a href=&quot;mailto:john.doe@email.com?subject=CAPS&quot;>email</a>

When it opens the outlook screen it is all in lower case?
I have tried using the javascript escape() method but tat does not work either...is there any way of getting upper case letters into the mail?
Thanks,
Brett.
 
Why do you want to do that? Traditionally email addresses have always been all lowercase. That's what people are used to, and that's what they expect. Why change it?
Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
He's talking about the subject.
I'm curious, see this works for me? Your code I mean - could there be some other problem, like are you creating the href dynamically or anything?
b[sup]2[/sup] - benbiddington@surf4nix.com
 
Yes it was being made dynamically. I actually worked out how to gte around it, by using the hex codes for capital letters (ie B=%42), but now I have a new problem. The href tag seems to be limited to 255 characters. My body gets cut short once the entire href tag (ie from &quot;mailto...bodybodybody&quot;) reaches 255 chars. Makes the body tag kinda useless doesn't it?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top