First off.. I hate this stuff.. Second.. I looked around and found the code on this site. I've been messing with this same code, and others like it for about a day now and am getting frustrated. Whenever these scripts receive emails that have attachments they think the body is the body of the attachment. I have yet to found one that works. I can output the whole message, but that includes a bunch of garbage.. So here is the code, please let me know if anyone has anyway to get this to work properly with attachments, or knows of a place where I can find this please email me! Thanks!
Code found at:
http://perlmonks.thepen.com/195442.html
James Woods
woodsjr@purdue.edu