Sending PHP HTML Mail

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>

Email Result:

http://www.domain.co.uk/path/to/file/ft=_login.php

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!

Thanks for letting everyone know how you solved it kool_samule. :tup:

Solved:
Changed: $body = $mime->get();
To: $body = $mime->get(array(‘html_encoding’=>‘base64’));