MIME::Lite 3.01 in CGI script doing nothing

From: David Christensen (dpchrist_at_holgerdanske.com)
Date: 02/27/04


Date: Fri, 27 Feb 2004 02:18:38 GMT

comp.lang.perl.modules:

I am running:

    <CVSENV>root@d3020g:~/d3020g# perl -v
    This is perl, v5.6.1 built for i386-linux
    ...

     <CVSENV>root@d3020g:~/d3020g# apache -v
    Server version: Apache/1.3.26 (Unix) Debian GNU/Linux
    Server built: Oct 26 2002 09:15:15

    <CVSENV>dpchrist@d3020g:~$ perldoc MIME::Lite | grep Version:
           Version: 3.01 (Maintenance release and a new caretaker!)

    <CVSENV>root@d3020g:~/d3020g# exim -bV
    Exim version 3.35 #1 built 05-Sep-2003 13:52:12
    Copyright (c) University of Cambridge 2001

The following code is in a CGI script:

            my $msg = MIME::Lite->new(
                        From => $from_address,
                        To => $to_address,
                        Subject => 'hello',
                        Data => "Hello, world!",
            ) or die "error creating MIME::Lite message";

            $msg->send() or die "error sending MIME::Lite message";

The script runs the code without dying, but I never receive at message
at $to_address nor an error reply at $from_address.

Any suggestions?

TIA,

David



Relevant Pages

  • Humble questions for web developers in freebsd.
    ... perl cgi scripts as well. ... trouble installing it, but when I wrote my first ... "Hello World" cgi script, I end up with an internal ... the ownership of the entire apache directory for me to ...
    (freebsd-questions)
  • Re: Perl CGI Issue
    ... I'm having an issue with a perl CGI script. ... In my head, this code should print the output message to stdout, start ... It could be that you are flushing the buffer to the web-server, ...
    (comp.lang.perl.misc)
  • Need module to test CGI uploads
    ... I have a web page featuring an HTML form that includes two mandatory ... a Perl CGI script to receive the submissions ... of this form, and a Perl module, let's call it MyCgiHandler, used ...
    (comp.lang.perl.misc)
  • Re: perl cgi script buffering?
    ... I have a html doc that calls a perl cgi script to list or write a scsi ... If I submit from the html document on the local machine it displays the ... Randal Schwartz, Linux Magazine, Aug 2002: ...
    (comp.lang.perl.misc)
  • Re: Newbie question - calling perl from html
    ... >feature of most every web browser these days; Perl is not. ... Your Perl script is a CGI script ... by explaining I'd looked at perl scripts for counters, ...
    (comp.lang.perl.misc)