Problem with MIME::Lite and MIME-tools 
Author Message
 Problem with MIME::Lite and MIME-tools

I tryed to use the MIME::Lite and MIME-tools modules on a NT 4.0 Perl
for  Win32 5.001 Build 110

my script:
--------------------------------------------------------------------------------
    use MIME::Lite;

$message = "message";
$mailprog = 'postmail.exe';
$sourcedir = "u:/web/cgi_data";
    $msg = new MIME::Lite



                Subject =>'A message with 2 parts...',
                Type    =>'multipart/mixed';

    attach $msg
                Type     =>'TEXT',  
                Data     =>"Here's the GIF file you wanted";

    attach $msg
                Type     =>'image/gif',
                Path     =>'$sourcedir/gugi.gif',
                Filename =>'gugi.gif';
    $msg->print(\*$mailprog);
---------------------------------------------------------------------------

I have allways the same errors:

Global symbol "VERSION" requires explicit package name at
D:\perl5\lib/MIME/Lite
.pm line 155.
Global symbol "QUIET" requires explicit package name at
D:\perl5\lib/MIME/Lite.p
m line 158.
Global symbol "VERSION" requires explicit package name at
D:\perl5\lib/MIME/Lite
.pm line 756.
Global symbol "QUIET" requires explicit package name at
D:\perl5\lib/MIME/Lite.p
m line 797.
Global symbol "QUIET" requires explicit package name at
D:\perl5\lib/MIME/Lite.p
m line 1560.
Global symbol "QUIET" requires explicit package name at
D:\perl5\lib/MIME/Lite.pm line 1561.
 at mailtest2.pl line 2.
BEGIN failed--compilation aborted at mailtest2.pl line 2.

Any response would be greatly appreciated!
Thanks!

Josi



Sat, 27 May 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. problems with MIME::Lite and MIME-tools

2. Problem with MIME::Lite and MIME-tools

3. MIME-Tools - MIME::Entity - extra newline problem

4. MIME::Tools - Getting All MIME Header Info for a Message

5. MIME::Tools decoding of a MIME::Entity

6. Lite.pm - MIME::Lite

7. MIME::Lite Problem

8. MIME-tools/Mail-tools incompatible?

9. problem sending email using MIME::Lite from gmail's stmp server

10. Problems with Mime::Lite

11. MIME::Lite problem

12. MIME::Lite problem

 

 
Powered by phpBB® Forum Software