I bought your book some years ago and I must say that this was a good thing to do , because I found solutions for a lot of questions I had.
Since I had your book in hand I was able to add a small webmail to my company web portal.
Unfortunatelly, I use pop3lib to get mail with php and I found a "bug" that cause us to miss a part of the texts send by email.
when you recive an email like the one following:
Code:
--Apple-Mail-4-94362960
Content-Type: text/plain;
charset=utf-8;
format=flowed;
delsp=yes
Content-Transfer-Encoding: quoted-printable
hello word!
--Apple-Mail-4-94362960
Content-Disposition: inline;
filename=BerdozOptic.jpg
Content-Type: image/jpeg;
name=BerdozOptic.jpg
Content-Transfer-Encoding: base64
/9j/4AAQSkZJRgABAQAAAQABAAD/4QBYRXhpZgAATU0AKgAAAAgAAgESAAMAAAABAAEAAIdpAAQA
AAABAAAAJgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABQKADAAQAAAABAAACAQAAAAD/2wBD
AAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB
--Apple-Mail-4-94362960
Content-Type: text/plain;
charset=utf-8;
format=flowed;
delsp=yes
Content-Transfer-Encoding: quoted-printable
bye bye
only the last "Content-Type: text/plain;" is found by pop3lib so all the text witch is before the attachement is lost!!
Is there any way to fix this? do you know if a new version of pop3lib is avalable?
Thank you for your help