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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php