Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I am getting below error, while trying mime::lite in my local.
error:
'sendmail' is not recognized as an internal or external command, operable program or batch file.The below is simple code :
#!C:\perl\bin\perl.exe -w use FindBin; use lib "$FindBin::Bin/.."; use lib "c:\\perl\\site\\lib"; use strict; use warnings; use MIME::Lite; my @body=('test'); my $to = 'sou@rediffmail.com'; my $from = 'sou@rediffmail.com'; my $subject = 'Test Email'; my $message = 'This is test email sent by Perl Script'; my $msg = MIME::Lite->new( From => $from, To => $to, Subject => $subject, Data => $message ); $msg->send();
any one help me in this?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Error in MIME::Lite
by runrig (Abbot) on Jun 24, 2016 at 16:48 UTC | |
by afoken (Chancellor) on Jun 25, 2016 at 14:15 UTC | |
Re: Error in MIME::Lite
by Laurent_R (Canon) on Jun 24, 2016 at 20:30 UTC | |
Re: Error in MIME::Lite
by Aldebaran (Curate) on Jun 26, 2016 at 05:27 UTC |
Back to
Seekers of Perl Wisdom