my system is windows 2000 , IIS 5.0 i am using the Mail::Sender module with the code below, the problem is that all the e-mails are saved to the c:\Inetpub\mailroot\queue there is also another file in the dir which is called NTFS_e121a4c001c0fc1d00000001.EML the file type for this is :Certificate Trust List when double clicked the file brings up a dialog box which says "Invalid Public Key Security File" , "this is an invalid security trust file" i have no idea what this means , please can someone help ? perl code -------------------- #!/usr/local/perl/bin use Mail::Sender; print "Content-type: text/html\n\n"; ref ($sender = new Mail::Sender({from => '[EMAIL PROTECTED]',smtp => '127.0.0.1'})) or die "$Mail::Sender::Error\n"; (ref ($sender->MailFile( {to =>[EMAIL PROTECTED]', subject => 'this is a test', msg => "Hi Johnie.\nI'm sending you the pictures you wanted.", file => 'c:\ukemails\Greenstone.bmp' })) and print "Mail sent OK." ) or die "$Mail::Sender::Error\n"; ----------------------------- note the code works fine if i use another SMTP server, and not localhost thank you in advance Waseem http://www.todayinsoccer.com - the ultimate soccer history site _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users