php mail function isn't creating hyperlink

Discussion in 'PHP' started by carlwenrich, Jan 7, 2008.

  1. #1
    I'm using the mail() function to send activation emails to new users in an app I'm working on. The activation link appears as normal text instead of being presented as a hyperlink the way it is with programs like phpnuke. I must be missing something, but I don't know what it is.
     
    carlwenrich, Jan 7, 2008 IP
  2. lfhost

    lfhost Peon

    Messages:
    232
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    send as a HTML email and not plain text.
     
    lfhost, Jan 8, 2008 IP
  3. jwlnewsome

    jwlnewsome Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    have you set the headers to html?
    header('Content-Type: text/html');
     
    jwlnewsome, Jan 8, 2008 IP
  4. Freewebspace

    Freewebspace Notable Member

    Messages:
    6,213
    Likes Received:
    370
    Best Answers:
    0
    Trophy Points:
    275
    #4
    what about iso character set?

    Whether we can use that also ?
     
    Freewebspace, Jan 8, 2008 IP