Thanks for the feedback. Doesn't look too complicated, but I've never used the libraries and modules. My friend who helped me get into Perl programming called me a hacker not a programmer. I have the Learning Perl book, but I don't have the Perl Cookbook. I guess I'm going to have to break down and buy the cookbook. I'm going to try and take your code and make it work. I don't see a MIME or Lite library on my 5.00503 version of Perl or in the CPAN directory or in the CPAN.pm library. Anyway maybe it will all work, but I would like to understand what it is doing. I've created my own libraries all of the time using the require fuction and that has worked wonderful, but that is just my own subroutines and I can understand my own code. Anyway thanks for your help and pointing me in the right direction.