Closed
Bug 1187264
Opened 9 years ago
Closed 9 years ago
Email with chinese character meet "Wide character in subroutine entry" issue
Categories
(Bugzilla :: Email Notifications, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 714724
People
(Reporter: boyang.jin, Unassigned)
References
()
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Maxthon/4.4.6.2000 Chrome/30.0.1599.101 Safari/537.36
Steps to reproduce:
send mail with chinese character
Actual results:
got error msg as below
Can't locate object method "message" via package "Wide character in subroutine entry at lib/Email/Sender/Transport/SMTP.pm line 218.
" (perhaps you forgot to load "Wide character in subroutine entry at lib/Email/Sender/Transport/SMTP.pm line 218.
"?) at Bugzilla/Mailer.pm line 181.
Expected results:
send out mail correctly
Reporter | ||
Comment 1•9 years ago
|
||
I aleady fix it in below step.
comment line 218 in SMTP.pm. Fully agree with rjbs's solution.
# I would love to remove this when Net::SMTP is unscrewed.
# See https://rt.cpan.org/Ticket/Display.html?id=104433
# -- rjbs, 2015-05-14
#utf8::downgrade($next_hunk);
Comment 2•9 years ago
|
||
So you have libnet 3.07 and Email::Sender 1.300018 installed?
Reporter | ||
Comment 3•9 years ago
|
||
(In reply to Frédéric Buclin from comment #2)
> So you have libnet 3.07 and Email::Sender 1.300018 installed?
Yes, It is Email::Sender 1.300018, which is default version from Bugzilia.
Updated•9 years ago
|
Comment 5•9 years ago
|
||
Could you test again with Email::Sender 1.300020 or newer? Its changelog mentions a fix for:
1.300019 2015-08-10 15:48:02-04:00 America/New_York (TRIAL RELEASE)
- only work around Net::SMTP on broken (pre-3.07) versions
Moreover, I just checked in a fix for bad encoding in emails, see bug 714724. This fix will be in Bugzilla 5.0.2. Could you apply this fix to your installation and tell us if this fixes your issue, please?
Keywords: qawanted
Comment 7•9 years ago
|
||
Alexey, could you apply the patch from bug 714724 or use git to test if this fixes your issue?
Applied on mine 5.0.1
#cat patch.utf | patch -p 1
patching file Bugzilla/BugMail.pm
patching file Bugzilla/MIME.pm
patching file Bugzilla/Mailer.pm
patching file t/011pod.t
patching file template/en/default/whine/header.txt.tmpl
patching file template/en/default/whine/multipart-mime.txt.tmpl
patching file whine.pl
Tested both Sendmail and SMTP meyhods with HTML and TEXT
All works perfect
Now got UTF in mail correctly
<pre>=D1=82=D0=B5=D1=81=D1=82</pre>
Things are fixed for me. Thank you guys.
Comment 9•9 years ago
|
||
Perfect! Thanks for the testing! :)
Marking as a duplicate of bug 714724 as it's another symptom of the same issue.
You need to log in
before you can comment on or make changes to this bug.
Description
•