e-mail Hyperlink Code [message #176996] |
Tue, 14 February 2012 23:14  |
mrc2323
Messages: 12 Registered: February 2011
Karma: 0
|
Junior Member |
|
|
How do I code the syntax to get the e-mail link at the end of the
code below to (1) show it's a hyperlink and (2) call the user's e-mail
client to create and send the e-mail request? I'm able to do this in
HTML code and file (e.g. href="mailto:..."), but it doesn't work in a
PHP file. Please advise. TIA
<div class="eventInfo">To request a confirmation e-mail be resent or to
update a participant e-mail, send the participant name and e-mail
address to: patsrun(at)pattillmanfoundation(dot)org.</div>
|
|
|
|
|
|
|
|
Re: e-mail Hyperlink Code [message #177053 is a reply to message #176996] |
Sat, 18 February 2012 00:09  |
Thomas 'PointedEars'
Messages: 701 Registered: October 2010
Karma: 0
|
Senior Member |
|
|
Mike Copeland wrote:
> How do I code the syntax to get the e-mail link at the end of the
> code below to (1) show it's a hyperlink and (2) call the user's e-mail
> client to create and send the e-mail request? I'm able to do this in
> HTML code and file (e.g. href="mailto:..."), but it doesn't work in a
> PHP file. Please advise. TIA
That is an ill-conceived approach as it presupposes the availability of an
e-mail client application. In a decade where Google Mail is widely used,
such a program to be installed *and* properly configured on the client
computer is even more improbable than it was in the previous decade, of
Internet cafés.
In any case, `mailto:' *does* work to that extent in a "PHP file" (you
should think of "PHP files" as scripts, as *computer programs* instead).
But it will never, anywhere, automatically submit the e-mail.
Use a form-mailer instead.
PointedEars
--
When all you know is jQuery, every problem looks $(olvable).
|
|
|