Sending PHP HTML Mail

Discussion in 'PHP' started by koolsamule, Oct 4, 2010.

  1. #1
    Hi Chaps,

    I'm using PHP / PEAR Mail_Mime to send HTML emails from my PHP application.

    The mail does send sucessfully, however there are some random equals symbols appearing in the HTML:

    Code:
    <p>http://www.domain.co.uk/path/to/file/ftp_login.php</p>
    
    Code (markup):
    Email Result: Notice that the 'p' in ftp_login has been replaced by "=".

    It's not just links, it's happening in other places, such as within the <H1> tags, but I cannot find a common denominator.

    Please help!
     
    koolsamule, Oct 4, 2010 IP
  2. koolsamule

    koolsamule Peon

    Messages:
    101
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Solved:
    Changed: $body = $mime->get();
    To: $body = $mime->get(array('html_encoding'=>'base64'));
     
    koolsamule, Oct 4, 2010 IP