Alex Yuen wrote: > #!/usr/local/bin/perl -w > > use MIME::Lite; > use strict; > > $msg = MIME::Lite->new( > From =>'[EMAIL PROTECTED]', > To =>'[EMAIL PROTECTED]', > Subject =>'Testing MIME::Lite Module.', > Data =>"Successfully sent message." > ); > > $msg->send; > **************************************************************************** > **************************
this is Perl trying to tell you that before you can use the $msg variable, you need to declare it. the 'use strict' thing enforce that. change: $msg = MINE::Lite->new( to: my $msg = MINE::List->new( and try again. david -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]