I am using ActiveState perl on Windows NT 4.0 platform. I want to send emails with 
attachments. I have downloaded package Sender.pm and copied it to my c:\perl\lib\mail 
folder. Do I need to do anything special to install it ?
When I use it in the following script :

       use Mail::Sender;
     
        $sender = new Mail::Sender {smtp => 'snowwhite.bostednt.com', from => 
'[EMAIL PROTECTED]'};
        $sender->MailFile({to => '[EMAIL PROTECTED]', subject => 'Here is the file', 
                       msg => "I'm sending you the list you wanted.", 
                          file => "c:\\ajit\\perl\\scratchpad.pl"});
        exit;

The script hangs, the control never comes back. Please tel me what I am doing wrong ?

Thanks,

Ajit Tawde
        

Reply via email to