The forums have permanently moved to This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.

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="">Click Here</a>

    So instead of just adding ""; 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 -

    The Web Development Blog -

    Web Resauce -

  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 Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012