I'm using the Email::Stuffer
module for sending a text message through an email in ActivePerl on Windows. This the code I'm running:
use strict;
use warnings;
use Email::Stuffer;
my $text = <<"END";
This is the email generated by Perl.
END
Email::Stuffer
->text_body($text)
->subject('Perl Email')
->from('abc@gmail.com>')
->to('xyz@gmail)
->send;
I'm getting error like this:
Can't locate Email/Stuffer.pm in @INC (you may need to install the Email::Stuffer module) (@INC contains: C:/Perl/site/lib C:/Perl/lib) at D:\Ekanvith
a\perl\email.pl line 4.
BEGIN failed--compilation aborted at D:\Ekanvitha\perl\email.pl line 4.