[Koha-bugs] [Bug 4982] New: Error when enable sending to patrons notification account details emails when account is created

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Jul 10 18:54:51 CEST 2010


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4982

           Summary: Error when enable sending to patrons notification
                    account details emails when account is created
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Architecture, internals, and plumbing
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: dubyk at library.lviv.ua
         QAContact: koha-bugs at lists.koha-community.org
   Estimated Hours: 0.0


Try to use AutoEmailOpacUser=ON for keep account details with login/password
also in their mail boxes.

Used Koha 3.0.6 with russian tables (and letter templates).

When try to add new patron occur next error

The following fatal error has occurred:
Wide character in subroutine entry at /usr/share/perl5/Mail/Sendmail.pm line
238.

Used Mail::Sendmail 0.79-5

Try to used more new module
http://ftp.us.debian.org/debian/pool/main/libm/libmail-sendmail-perl/libmail-sendmail-perl_0.79.16-1_all.deb

- such error:

The following fatal error has occurred:
Wide character in subroutine entry at /usr/share/perl5/Mail/Sendmail.pm line
308.

Try to patch Sendmail.pm
(according posts here
http://lists.katipo.co.nz/public/koha/2008-July/015599.html
adn here http://perldoc.perl.org/MIME/QuotedPrint.html)
In Sendmail.pm I replaced string
    $mail{'Message'} = encode_qp($mail{'Message'});
with next two rows
    use Encode qw(encode);
    $mail{'Message'} = encode_qp(encode("UTF-8", $mail{'Message'}));

- and this WORK (e-mail sended and charcters (cyrillic) in it look good).

But can something similar apply to Koha (while not touch external module
Mail::Sendmail)?

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list