You might need to add this at the beginning of Sendmail.pm:<div><br></div><div><span class="Apple-style-span" style="color: rgb(38, 38, 38); font-family: monospace; font-size: 12px; white-space: pre-wrap; "><a class="l_k" href="http://perldoc.perl.org/functions/use.html" style="color: rgb(54, 65, 92); font-weight: bold; ">use</a> <span class="w" style="color: rgb(0, 0, 0); ">Encode</span><span class="sc" style="color: rgb(0, 0, 0); ">;</span></span></div>

<div><br><div class="gmail_quote">Not entirely sure though.</div><div class="gmail_quote"><br></div><div class="gmail_quote">--Mizst</div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">

2011/4/29 Cybermon <span dir="ltr">&lt;<a href="mailto:cybermon@gmail.com">cybermon@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Dear All,<br>

<br>When I update patron information by UTF-8 by ,,,/koha/<a href="http://opac-userupdate.pl" target="_blank">opac-userupdate.pl</a> ? I have following error:<br><br>Undefined subroutine &amp;Mail::Sendmail::encode called at /usr/share/perl5/Mail/Sendmail.pm line 308.<br>



<br>I just added following script  for /usr/share/perl5/Mail/<a href="http://sendmail.pm" target="_blank">sendmail.pm</a><br>$mail{&#39;Message&#39;} = encode_qp(encode(&quot;UTF-8&quot;, $mail{&#39;Message&#39;}));<br><br>

How can I fix it ?<br>

<br>Gana<br>
<br>_______________________________________________<br>
Koha mailing list  <a href="http://koha-community.org" target="_blank">http://koha-community.org</a><br>
<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
<br></blockquote></div><br></div>