Thanx for the script.. much easier than the uudeview method we used....
Two thins got in my way of using the above modded script... I fond that subject lines that had gibberish or the like would confuse redering and cause the formatting to mess up. You will see the offending text right where the break in formatting happens, do a grep throuhg the content of the files in the direcrtory, whack it...
Also, some the the files I think were a bit big for the: $file = file_get_contents ($YourFile);
and the script would stop with only a partial listing. Changed it to: $file = file_get_contents ($YourFile, NULL, NULL, -1, 5000);
and that fixed it... I'm only quessing the 5000 characters is enough, you may have to adjust...
Thanx! |