From da94d07717910608beb2559b4a2e3aeb946f7022 Mon Sep 17 00:00:00 2001 From: "mozilla%colinogilvie.co.uk" <> Date: Sun, 20 Nov 2005 06:06:46 +0000 Subject: Bug 286865: Remove or Replace Win32 Code Changes Section as they are no longer required Patch by Colin Ogilvie ; r=glob --- docs/xml/installation.xml | 58 ++++++++++++----------------------------------- 1 file changed, 14 insertions(+), 44 deletions(-) (limited to 'docs/xml') diff --git a/docs/xml/installation.xml b/docs/xml/installation.xml index ad46cabfc..6b1b1b052 100644 --- a/docs/xml/installation.xml +++ b/docs/xml/installation.xml @@ -1,5 +1,5 @@ - + Installing Bugzilla @@ -1575,52 +1575,13 @@ C:\perl> ppm install <module name>
- Code changes required to run on win32 + Code changes required to run on Win32 - Bugzilla on win32 is mostly supported out of the box; one - remaining issue is related to bug email. To make bug email - work on Win32 (until - bug - 49893 lands), the - simplest way is to have the Net::SMTP Perl module installed and - change this line in the file Bugzilla/Bugmail.pm: - - - -open(SENDMAIL, "|/usr/lib/sendmail $sendmailparam -t -i") || - die "Can't open sendmail"; - -print SENDMAIL trim($msg) . "\n"; -close SENDMAIL; - - - - to - - - -use Net::SMTP; -my $smtp_server = 'smtp.mycompany.com'; # change this - -# Use die on error, so that the mail will be in the 'unsent mails' and -# can be sent from the sanity check page. -my $smtp = Net::SMTP->new($smtp_server) || - die 'Cannot connect to server \'$smtp_server\''; - -$smtp->mail('bugzilla-daemon@mycompany.com'); # change this -$smtp->to($person); -$smtp->data(); -$smtp->datasend($msg); -$smtp->dataend(); -$smtp->quit; - - - - Don't forget to change the name of your SMTP server and the - domain of the sending email address (after the '@') in the - above lines of code. + Bugzilla on Win32 is supported out of the box from version 2.20; this + means that no code changes are required to get Bugzilla running. +
@@ -1647,7 +1608,16 @@ $smtp->quit;
+ +
+ Sending Email + + To enable Bugzilla to send email on Windows, the server running the + Bugzilla code must be able to connect to, or act as, an SMTP server. + + +
-- cgit v1.2.3-24-g4f1b