Closed
Bug 286206
Opened 20 years ago
Closed 20 years ago
parameter $person not accessable from fixed sample code
Categories
(Bugzilla :: Documentation, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 280911
People
(Reporter: zxd, Unassigned)
References
()
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.40607)
Build Identifier: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.40607)
in section 2.4.1.3. Code changes required to run on win32, a sample code gived
to use Net::SMTP instead /usr/lib/sendmail in Bugmail.pm of sub MessageToMTA
(). it causes prase error.
Reproducible: Always
Steps to Reproduce:
1. fix bugmail.pm as sample
2. try do something
3.
Actual Results:
Software error:
Global symbol "$person" requires explicit package name at Bugzilla/BugMail.pm
line 886.
Compilation failed in require at Bugzilla/Flag.pm line 39.
BEGIN failed--compilation aborted at Bugzilla/Flag.pm line 39.
Compilation failed in require at Bugzilla/Attachment.pm line 35.
BEGIN failed--compilation aborted at Bugzilla/Attachment.pm line 35.
Compilation failed in require at Bugzilla/Bug.pm line 38.
BEGIN failed--compilation aborted at Bugzilla/Bug.pm line 38.
Compilation failed in require
at /usr/local/apache2/htdocs/bugzilla/show_bug.cgi line 34.
BEGIN failed--compilation aborted
at /usr/local/apache2/htdocs/bugzilla/show_bug.cgi line 34.
For help, please send mail to the webmaster (you@example.com), giving this
error message and the time and date of the error.
Expected Results:
mail should be send without error
this can fix it:
1. do fix as the document says
2. also change this
line 853 MessageToMTA($msg); --> MessageToMTA($msg, $person);
line 862 my ($msg) = (@_); --> my ($msg, $person) = (@_);
Comment 1•20 years ago
|
||
*** This bug has been marked as a duplicate of 280911 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•