Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML Mail with PHP/PEAR

Status
Not open for further replies.

peoplesrepublican

Programmer
Jan 29, 2005
6
0
0
GB
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:

img src=3D"jpg" width=3D"180" height=3D"150"><br><p class=3D"bodyText">&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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top