Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
My error message:use MIME::Lite; use Mail::Sendmail; use strict; use warnings; my $msg = MIME::Lite->new( From => 'smith@here.com', To => 'jones@here.com', Subject => "tester", Data => "The file is attached.\n" ); $msg->attach( Path => '\perl\bin\myerrs.txt', Type =>'AUTO' ); $msg->send;
It doesnt seem to like the send method.C:\Perl\bin>mailAttach.pl The name specified is not recognized as an internal or external command, operable program or batch file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Send Mail Attachment
by PodMaster (Abbot) on Oct 07, 2003 at 13:27 UTC | |
by Anonymous Monk on Oct 07, 2003 at 14:06 UTC | |
|
Re: Send Mail Attachment
by Abigail-II (Bishop) on Oct 07, 2003 at 13:09 UTC | |
by Anonymous Monk on Oct 07, 2003 at 13:35 UTC |