Help for this page

Select Code to Download


  1. or download this
    my $mail = MIME::Lite->new(Subject => 'some_subject',
                               Type    => 'multipart/mixed');
    ...
                     Filename    => $fileName,
                     Disposition => 'attachment');
    }
    
  2. or download this
    # necessary file opening code here...
    print SOME_FILEHANDLE $mail->as_string;