Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Banned
    Join Date
    Mar 2007
    Posts
    1,523
    Thanks
    116
    Thanked 0 Times in 0 Posts

    Question PHP email link not showing as a clickable link?!

    hi, in my php html email, when a link is sent and received in Windows Mail, it comes out as not being a clickable link

    ie:
    looks like this (with no gaps):

    www . google . co . uk

    should be this:

    www.google.co.uk

    this is fine in Google Mail and Outlook?!

    Please help...
    here is my code
    PHP Code:
    <?php
    mysql_connect
    ("000""000""000");
    mysql_select_db("000");
    $EmailTitle htmlentities(mysql_real_escape_string($_POST['EmailTitle']));
    $EmailBody1 htmlentities($_POST['EmailBody']);
    $id mysql_real_escape_string($_POST['id']);

    $order   = array("\r\n""\n""\r");
    $replace '<br />';

    // Processes \r\n's first so they aren't converted twice.
    $EmailBody str_replace($order$replace$EmailBody1);


    $query5 mysql_query("SELECT * FROM aarbookts_booking_bookings WHERE id = '$id'");
    $row5 mysql_fetch_array($query5);
        
    $customer_name $row5['customer_name'];

    $to $row5['customer_email'];
    $subject $EmailTitle;
    echo 
    $to;

    $message = <<<EOF
    <html>
      <body>
        <p>$EmailBody</p>
      </body>
    </html>
    EOF;
       
    //end of message
        
    $headers  "From: info@affordableappliancerepairs.co.uk\r\n";
        
    $headers .= "Content-type: text/html\r\n";

        
    //options to send to cc+bcc
        //$headers .= "Cc: [email]maa@p-i-s.cXom[/email]";
        //$headers .= "Bcc: [email]email@maaking.cXom[/email]";
        
        // now lets send the email.
        
    mail($to$EmailTitle$message$headers);
       
    $msg "Mass email sent"
    header("Location: view-booking.php?msg=$msg&id=$id"); 
      
    ?>

  • #2
    Banned
    Join Date
    Mar 2007
    Posts
    1,523
    Thanks
    116
    Thanked 0 Times in 0 Posts
    this is now sorted, it was a problem with Windows mail!


  •  

    Posting Permissions

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