Page 1 of 1

HTML mail with PHP/PEAR Mail_mime

Posted: Mon Jun 20, 2005 4:31 pm
by peoplesrepublican
Hi,

I am getting an interesting (aren't they all) problem when I send an HTML mail using PEAR from a PHP script. There are links to images in the HTML and on occasion (it's repeatable) the . between the filename and the extension disappears, leaving the image links broken. I have looked at the raw view of the html in the mail in the mail client, and I noticed this phenomenon:

Code: Select all

img src=3D&quote;http://imgserver4/Dev/SU/LinkManagement/su_lm_ad/default_180_150=
jpg&quote; width=3D&quote;180&quote; height=3D&quote;150&quote;><br><p class=3D&quote;bodyText&quote;>&lt;script lan=
In other words, if the . is exactly where a line break occurs, it gets removed. I'm no expert in PEAR, and since I am assuming that it is within PEAR that this is happening (using Mail_mime class), I was hoping someone may be able to point me in the right direction...

Thanks for any help you can give

PR