Basically I'm configuring Bugzilla to work on Windows2000. Everything else works except that I'm having problem sending e-mail.
If I run the above code through the command line I can connect to the smtp server and send the e-mail. But when I run the script through the web browser, I always get the Couldn't connect to server error message.
Anyone has any idea on how to solve this?
my $smtpserver = "some.mailservername.com";
my $smtp = Net::SMTP->new($smtpserver, Debug => 1);
die "Couldn't connect to server" unless $smtp;
...some command to send the e-mail...
If I run the above code through the command line I can connect to the smtp server and send the e-mail. But when I run the script through the web browser, I always get the Couldn't connect to server error message.
Anyone has any idea on how to solve this?
