SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2001
    Location
    uk
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    AOL users and PHP

    My site requires registration to post. During the registration process an email is sent to the email address provided to verify the address. Contained in the mail is a return link containing a random hash and the email address in the return url.

    It appears from the reports I've recived back that AOL users are unable to confirm their accounts via this email.

    I am led to believe that I need to include the a href tag for them to click, but have no idea how to ammend the code to include the a href tag around the url.

    Can anyone assist with how to programme this to enable AOL users to confirm their account?

    I have included the current code so that anyone able to help may edit it to give me the coding I need.
    -----
    Code:
    function user_send_confirm_email($email,$hash) {

    /*

    Used in the initial registration function

    as well as the change email address function

    */



    $message = "Thank You For Registering at HolidayTruths".

    "\nSimply follow this link to confirm your registration: ".

    "\n\nhttp://www.holidaytruths.co.uk/confirm.php?hash=$hash&email=". urlencode($email).

    "\n\nOnce you confirm, you can use the services on HolidayTruths.";

    mail ($email,'HolidayTruths Registration Confirmation',$message,'From: noreply@holidaytruths.co.uk');

    Thanks to anyone who can assist.

    Caunton

  2. #2
    What's HTML?
    Join Date
    May 2001
    Location
    San Diego, CA
    Posts
    1,701
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try this:
    PHP Code:

    $message 
    "Thank You For Registering at HolidayTruths"
    "\nSimply follow this link to confirm your registration: "
    "\n\nhttp://www.holidaytruths.co.uk/confirm.php?hash=$hash&email="urlencode($email). 
    "\n<a href=\"http://www.holidaytruths.co.uk/confirm.php?hash=$hash&email="urlencode($email). " \">
    AOL Users Click Here <\a>"
    .

    "\n\nOnce you confirm, you can use the services on HolidayTruths."

    mail ($email,'HolidayTruths Registration Confirmation',$message,'From: [email]noreply@holidaytruths.co.uk[/email]'); 
    Ryan Kuhle - A Proud Advisor - Got Questions? Just Ask!
    Get your website started for less than $20! Click Here


Bookmarks

Posting Permissions

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