I have stripped my PerlSvc program to a minimal MIME::Lite email
program. Using a firewall I blocked access to the mailhost and tested
the eval code as both of you suggested and then using an if block to
check [EMAIL PROTECTED]
The croak was indeed trapped using the syntax:
eval
Bullock, Howard A. wrote:
I have stripped my PerlSvc program to a minimal MIME::Lite email
program. Using a firewall I blocked access to the mailhost and tested
the eval code as both of you suggested and then using an if block to
check [EMAIL PROTECTED]
The croak was indeed trapped using
Did you try the below as a success test ? :
if ($msg-last_send_successful) {
print message successful\n;
} else {
print message not successful\n;
}
No, I did not try that. That method (last_send_successful) is not shown
in my local MIME::Lite docs, but I did find it mentioned on
Can't locate object method last_send_successful via package
MIME::Lite at ReplWatcherCroakTest.pl line 169.
I see that I have version 3.01 from the ActiveState repository and that
the version on CPAN is now 3.01_05. I do not plan on upgrading until a
newer version is available via ppm from the
Bullock, Howard A. wrote:
Can't locate object method last_send_successful via package
MIME::Lite at ReplWatcherCroakTest.pl line 169.
I see that I have version 3.01 from the ActiveState repository and that
the version on CPAN is now 3.01_05. I do not plan on upgrading until a
newer version
Bullock, Howard A. wrote:
No, I did not try that. That method (last_send_successful) is not shown
in my local MIME::Lite docs, but I did find it mentioned on CPAN. The
CPAN docs state: After sending, the method last_send_successful() can
be used to determine if the send was successful or