I was looking at the MIME module and figured that is what I need but was hoping not to have to rewrite the entire script. It took me 2 weeks writting this one to get it working with the latest standerds, but it looks like I am going to have to either figure out another way for people get there attachments to me or rewrite my script. Thanks for the help.