[Koha] Undefined subroutine

Mizst Audens mizstik at gmail.com
Sat Apr 30 09:14:58 NZST 2011


You might need to add this at the beginning of Sendmail.pm:

use <http://perldoc.perl.org/functions/use.html> Encode;

Not entirely sure though.

--Mizst


2011/4/29 Cybermon <cybermon at gmail.com>

> Dear All,
>
> When I update patron information by UTF-8 by ,,,/koha/opac-userupdate.pl ?
> I have following error:
>
> Undefined subroutine &Mail::Sendmail::encode called at
> /usr/share/perl5/Mail/Sendmail.pm line 308.
>
> I just added following script for /usr/share/perl5/Mail/sendmail.pm
> $mail{'Message'} = encode_qp(encode("UTF-8", $mail{'Message'}));
>
> How can I fix it ?
>
> Gana
>
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20110430/44f66505/attachment.htm 


More information about the Koha mailing list