FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » e-mail Hyperlink Code
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: e-mail Hyperlink Code [message #177053 is a reply to message #176996] Sat, 18 February 2012 00:09 Go to previous message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma:
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).
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Owner & Group extract as 101 101 instead of root system
Next Topic: 0.1% tests failed while trying to build 5.3.10
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 04:36:51 GMT 2024

Total time taken to generate the page: 0.04587 seconds