Ok, I fixed the problem with emailing the file, but its now coming with some type of 
symbols [EMAIL PROTECTED]
 
the file that i am trying to send has been properly created, but MIME::Lite isn't 
emailing it. Its emailing me a textfile with the same name as the file onthe server, 
but without the data in it. Here is the new code:
 
 
 
sub mailman {
     
my $message=MIME::Lite->build(
    From =>'[EMAIL PROTECTED]',
    To =>'[EMAIL PROTECTED]',
    Subject =>'This is a test of the MIME::Lite Mod',
    Type =>'multipart/mixed',
       
    );
 
 $message->attach ( 
    From  =>'[EMAIL PROTECTED]',
    To  =>'[EMAIL PROTECTED]',
    Subject  =>'This is a test of the MIME::Lite Mod',
    Type  =>'text/plain',
    Path  =>'/home/samcsm/jason/treatment',
    
    Filename =>'fourdayout.txt',
    Disposition =>'attachment'
   );
 
$message->send;
 return;
 
}#end of mailman subroutine

Reply via email to