For over a year I used a link-submission system on my webpages (called MegaLinks - you can find them at http://www.stonepages.com/megalinks/) which worked like a charm.
But recently I'm having some serious problems with e-mail sending through cgi - and please note that I didn't change the configuration file nor any other file that could have started the error.
Anyway, when someone tries to add a link, after clicking on the "submit" button this message appears:
CGI ERROR
==========================================
Error Message : fatal error: admin/Mailer.pm did not return a true value at add.cgi line 161.
Script Location : add.cgi
Perl Version : 5.006001
I have checked the files and they all seem fine. In particular, line 161 of the add.cgi reads:
require "admin/Mailer.pm";
my $mailer = new Mailer ( { smtp => $db_smtp_server,
sendmail => $db_mail_path,
from => $from,
subject => $subject,
to => $to,
msg => $msg,
log => $db_mailer_log
} ) or return;
$mailer->send or return;
There is definitely something wrong with the sending of e-mail messages through the Mailer.pm. Maybe it's something related to the Perl 5.006 upgrade of my hosting provider? Does anybody know how can I resume the normal operation on my system?
Any help would be most appreciated!
Diego Meozzi
Administrator
Stone Pages
http://www.stonepages.com/
But recently I'm having some serious problems with e-mail sending through cgi - and please note that I didn't change the configuration file nor any other file that could have started the error.
Anyway, when someone tries to add a link, after clicking on the "submit" button this message appears:
CGI ERROR
==========================================
Error Message : fatal error: admin/Mailer.pm did not return a true value at add.cgi line 161.
Script Location : add.cgi
Perl Version : 5.006001
I have checked the files and they all seem fine. In particular, line 161 of the add.cgi reads:
require "admin/Mailer.pm";
my $mailer = new Mailer ( { smtp => $db_smtp_server,
sendmail => $db_mail_path,
from => $from,
subject => $subject,
to => $to,
msg => $msg,
log => $db_mailer_log
} ) or return;
$mailer->send or return;
There is definitely something wrong with the sending of e-mail messages through the Mailer.pm. Maybe it's something related to the Perl 5.006 upgrade of my hosting provider? Does anybody know how can I resume the normal operation on my system?
Any help would be most appreciated!
Diego Meozzi
Administrator
Stone Pages
http://www.stonepages.com/