EvR has asked for the wisdom of the Perl Monks concerning the following question:
I have this in a CGI script. When I run the script on one web server (IIS v5 on Win2K -- sorry, not my choice, but that is what I have), it works perfectly. Sends the email just fine. On another server (also IIS v5 on Win2K), with use CGI::Carp qw( fatalsToBrowser ); I get the following error in the browser:use strict; use MIME::Lite; # vars defined here for use in the next statement my $msg = MIME::Lite->new ( From => $from_address, To => $to_address, Subject => $subject, Type => $msg_type, Data => $body_text, ); MIME::Lite->send( $method, $host, Timeout=>$timeout ); $msg->send;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Mime::Lite Connection Error
by rpanman (Scribe) on Jul 31, 2007 at 07:47 UTC | |
|
Re: Mime::Lite Connection Error
by Anonymous Monk on Jul 31, 2007 at 09:22 UTC |