Posted by Rasmus Lerdorf on 03/15/05 12:10
aldo.mailinglistphp@tiscali.it wrote:
> I need to calculate the size of an html email with embedded images. Filesize
> doesn't work to this purpose. How could I do without parsing the html file?
If the images are embedded, by which I suppose you mean attached, then
filesize() should be fine. If you mean they are just <img> tags
referring to external images, then they aren't part of the message and
filesize() is still the correct size since most email client block these
images anyway.
-Rasmus
Navigation:
[Reply to this message]
|