Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
6f8b21cd
Commit
6f8b21cd
authored
May 21, 2003
by
jake%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 145965 - Mention the sendmail -> SMTP change for Bugzilla on win32
Patch by Jean-Sebastien Guay <jean_seb@hybride.com>
parent
a30d43cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
1 deletion
+39
-1
installation.xml
docs/xml/installation.xml
+39
-1
No files found.
docs/xml/installation.xml
View file @
6f8b21cd
<!-- <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"> -->
<!-- $Id: installation.xml,v 1.4
5 2003/05/17 01:27:47
jake%bugzilla.org Exp $ -->
<!-- $Id: installation.xml,v 1.4
6 2003/05/21 02:15:21
jake%bugzilla.org Exp $ -->
<chapter
id=
"installation"
>
<title>
Installation
</title>
...
...
@@ -1226,6 +1226,44 @@ my $webservergid = '8'
</programlisting>
</section>
<section
id=
"win32-code-bugmail"
>
<title>
Changes to
<filename>
BugMail.pm
</filename></title>
<para>
To make bug e-mail work on Win32 (until bug 124174 lands), the
simplest way is to have Net::SMTP installed and change this (in
<filename>
Bugzilla/BugMail.pm
</filename>
):
</para>
<programlisting>
open(SENDMAIL, "|/usr/lib/sendmail $sendmailparam -t -i") ||
die "Can't open sendmail";
print SENDMAIL trim($msg) . "\n";
close SENDMAIL;
</programlisting>
<para>
to
</para>
<programlisting>
use Net::SMTP;
$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;
</programlisting>
<para>
Don't forget to change the name of your SMTP server and the
domain of the sending e-mail address (after the '@') in the above
lines of code.
</para>
</section>
</section>
<section
id=
"win32-http"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment