Everybody! This is important. In a few days, these forums will be moving over to using the totally sweet Discourse platform. To ensure this migration happens smoothly with no loss of content, these forums are currently in a read-only mode. I do apologize for the inconvenience.

There is never a good time to turn the forums off for an extended period of time, but I promise the new forums will be a billion times better. I'm pretty sure of it.

See you all on the other side in a few days, and if you have any (non-technical) questions, please e-mail me at kirupa@kirupa.com. For technical questions, try to find a tutorial that corresponds to what you are looking for and post in the comments section of that page.


Results 1 to 4 of 4

Thread: Send URL via PHP mail form

  1. #1

    Send URL via PHP mail form


    I'm beginning to believe this simply can't be done. But I've been trying to send a bit of HTML via a PHP mail form, with no success.

    What I want is to be able to send the equivalent of: <a href="http://www.kirupa.com">Click Here</a>

    So instead of just adding "http://www.kirupa.com"; I would instead be able to have the words "Click Here", within the email that gets sent.

    Can this be done? Do I really need to approach this with a huge WYSIWYG system in place?

    Thank you,


  2. #2
    jwilliam's Avatar
    An intellectual carrot!
    Ya, you can do that... Read example #4 in the manual entry for mail:


    Good luck...

  3. #3
    You need to look up "sending HTML emails with PHP" (the link in the above post has it). Basically you're trying to send HTML through a plain text email which is not going to work for you. So you have to send through the right headers to make it a HTML email.
    Jason Stockton - http://www.jasonstockton.com.au/

    The Web Development Blog - http://thewebdevelopmentblog.com/

    Web Resauce - http://www.webresauce.com/

  4. #4

    Thanks for your help! I did actually find my way on to that site at one point, but stupidly overlooked the thing I was actually after.

    Thanks again, it's exactly what I was after.


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Home About kirupa.com Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012