hi guys, can you please tell me how do i install the module Email::Send::SMTP::Gmail, i've tried with cpan, and ppm install, but its showing "error installing package, don't know what it is, could not locate ppd file!!.
Else can you tell me how do i send an attachment via gmail using perl.
thanks guys. the code im using is given below, its showing the error "BEGIN failed at line 4"
my $mail=Email::Send::SMTP::Gmail->new( -smtp=>'smtp.gmail.com',
$mail->send(-to=>'sendtoid', -subject=>'Hello!', -body=>'Just testing
i used cpan Gmail, and it worked just fine, but now i'm getting a whole new kind of an error, my code is the same as above but now its showing ::
'Can't locate object method "new" via package "Email::Send::SMTP::Gmail" <perhaps you forgot to load "Email::Send::SMTP::Gmail"> at email1.pl line 5'