Bugzilla::Send::Mail - is a module to extend the mail on bugzilla-2.17.7 (possibly other version that are based on 2.17.7) to use SMTP, SMTP_auth and the sntandard SENDMAIL. This will make WIN32 installtions a little easier. I have tested the mail setup on WIN32 but have not tested it on Unix. The send mail shoud work. you might have to tweak the ``undef'' to ``'' if you have problems with it.
The following modules can be installed from CPAN or ASPN
Net-SMTP_auth Net-SMTP
ASPN example
ppm3 install Net-SMTP_auth ppm3 install Net-SMTP
These two files are new:
Send.pm <-- new mail module check_mail.pl <- a simple script to test your configuration by sendin a test email
The following files are modified to direct the mail requests to the new Send.pm module.
BugMail.pm CGI.pm move.pl globals.pl whineatnews.pl CGI.pl Token.pm importxml.pl
Copy the Send.pm and BugMail.pm to the ``bugzilla installation directory''/Bugzilla.
Copy check_mail.pl, CGI.pm, move.pl, globals.pl, whineatnews.pl, CGI.pl, Token.pm, importxml.pl to the ``bugzilla installation directory'' directory.
I have not had time to workout the configuration scheme. Since I am pressed for time, I decided to edit the Send.pm for configuring the mail.
1: debug mode undef: NO debug
-: set to undef
$from $server_type $athu_protocol $server_name $account_name $account_passwrod
SMTP X X - X X -
SMTP_AUTH X X X X X X
SNDMAIL - X - - - -
check_mail.pl is a simple perl program you can test the email configuration you just finished it is lot easier to see it the setup is correct this program. Just edit and replace the sender and recepient email addresses. and run the program
perl check_mail.pl
you shoud receive the email which will verify you configuration.
Shahriar Mokhtarzad