in reply to Undeclared CGI???

I don't have Mail::Mailer but I would bet on that line that says ...

my $mailer = new Mail::Mailer ( "smtp" );

should have the address of your ISP's smtp. If you don't know it, try this address and fill the form with your email address...

http://www.xav.com/mx_lookup.pl

Then copy the smtp address to that line.

Hope it helps!

Replies are listed 'Best First'.
Re: Re: Undeclared CGI???
by Nickd_69 (Novice) on Aug 14, 2003 at 04:21 UTC
    Tried what you said which seems like a good idea but I copied the address that I recieved and pasted it in but I am still getting the same error message Undefined subroutine CGI::Vars. I guess this must be a pretty bad error cause no one has solved it yet including me!!! You put the adress here dont you??
    my $mailer = new Mail::Mailer ( "ADDRESS HERE);
    If anyone can find a working solution then they will be one mighty good perl monk!