![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| ||||
| ||||
|
|
Hi, I have a text field on a coldfusion form in which the user enters an email address. |
|
Next to the text field, there is a link called "Email". If the user clicks this link, an outlook window should popup with the email address from the text field populated in the To field. |
|
The outlook window pops up, but does not get populated with the email address. Can you please give me some suggestions? |
|
I am trying to do it this way: a href="mailto:javascript:document.mainInputForm.ema il_address.value" target=""><b>Email</b></a |
#3
| |||
| |||
|
|
jnag said the following on 12/28/2007 3:52 PM: The outlook window pops up, but does not get populated with the email address. Can you please give me some suggestions? Yeah, stop using the mythical mailto: protocol, it isn't reliable. URL:http://www.isolani.co.uk/articles/mailto.html |
#4
| |||
| |||
|
|
I have a text field on a coldfusion form in which the user |
|
enters an email address. Next to the text field, there is a link called "Email". If the user clicks this link, an outlook window should popup with the email address from the text field populated in the To field. |
#5
| |||
| |||
|
|
On Dec 28, 9:27 pm, Randy Webb <HikksNotAtH... (AT) aol (DOT) com> wrote: jnag said the following on 12/28/2007 3:52 PM: The outlook window pops up, but does not get populated with the email address. Can you please give me some suggestions? Yeah, stop using the mythical mailto: protocol, it isn't reliable. URL:http://www.isolani.co.uk/articles/mailto.html Mike's article, while excellent, discusses the use of mailto: as a form action, not an anchor's href. Using href="mailto:example (AT) example (DOT) com" is quite sensible. |
#6
| |||
| |||
|
|
On Dec 28, 9:27 pm, Randy Webb <HikksNotAtH... (AT) aol (DOT) com> wrote: jnag said the following on 12/28/2007 3:52 PM: The outlook window pops up, but does not get populated with the email address. Can you please give me some suggestions? Yeah, stop using the mythical mailto: protocol, it isn't reliable. URL:http://www.isolani.co.uk/articles/mailto.html Mike's article, while excellent, discusses the use of mailto: as a form action, not an anchor's href. |
|
Using href="mailto:example (AT) example (DOT) com" is quite sensible. |
#7
| |||
| |||
|
|
Mike's article, while excellent, discusses the use of mailto: as a form action, not an anchor's href. Using href="mailto:exam... (AT) example (DOT) com" is quite sensible. Actually, it is almost as bad. For example, consider an Internet café where there would be no local e-mail client be installed or if it was, most certainly it was not configured or the configuration be allowed to be changed. And if that example is too far-fetched for you, consider users of GMail or other Web mail services which would seldom use a local MUA. |
#8
| |||
| |||
|
|
[...] Thomas 'PointedEars' Lahn [...] wrote: Mike's article, while excellent, discusses the use of mailto: as a form action, not an anchor's href. Using href="mailto:exam... (AT) example (DOT) com" is quite sensible. Actually, it is almost as bad. For example, consider an Internet café where there would be no local e-mail client be installed or if it was, most certainly it was not configured or the configuration be allowed to be changed. And if that example is too far-fetched for you, consider users of GMail or other Web mail services which would seldom use a local MUA. While there are users who it won't work for, it doesn't cause effects that are anywhere near as broken as that of trying to use it as an action in a form. |
|
A number of browsers even have explicit "Copy email address" functionality on the context menu, [...] |
#9
| ||||
| ||||
|
|
On Dec 28, 10:43 pm, Thomas 'PointedEars' Lahn <PointedE... (AT) web (DOT) de wrote: Mike's article, while excellent, discusses the use of mailto: as a form action, not an anchor's href. Using href="mailto:exam... (AT) example (DOT) com" is quite sensible. Actually, it is almost as bad. For example, consider an Internet café where there would be no local e-mail client be installed or if it was, most certainly it was not configured or the configuration be allowed to be changed. And if that example is too far-fetched for you, consider users of GMail or other Web mail services which would seldom use a local MUA. While there are users who it won't work for, it doesn't cause effects that are anywhere near as broken as that of trying to use it as an action in a form. |
|
A number of browsers even have explicit "Copy email address" functionality on the context menu, which gets around the issue of webmail clients |
|
(as do tools such as http://lifehacker.com/software/gmail...ion-251923.php which make mailto links work with webmail clients). |
|
Additionally, a mailto link that is formatted according to the usual conventions gives strong enough hints that it wants to open in an email client that relatively few users will be confused (unlike a form where there are no conventions to indicate that it uses mailto). |
#10
| |||
| |||
|
|
While there are users who it won't work for, it doesn't cause effects that are anywhere near as broken as that of trying to use it as an action in a form. One is just as broken as the other. |
|
A number of browsers even have explicit "Copy email address" functionality on the context menu, which gets around the issue of webmail clients Where can I find this in a context menu? In a default setting. |
|
So, it is ok to use a broken mailto: link because people can use additional software to get the functionality? Sounds like a good argument for making scripting required on a website. |
![]() |
| Thread Tools | |
| Display Modes | |
| |