utf-8 encoded e-cards

I've just installed the script and already found a amall bug while sending e-cards. They are not utf-8 encoded. Small hack to fix this (worked for me) is to:

add after the: $subject=$pa_setup["ecard_subject"]; <-(line nr about 1779)
this:
$subject="=?UTF-8?B?".base64_encode($subject)."?= ";

for the subject and for the body add

$header .= "MIME-Version: 1.0\r\n"."Content-Type: text/plain;charset=UTF-8\r\n"."Content-Transfer-Encoding: 8bit\r\n";

after the (about 1781)
$header = 'From: '.$s_email . "\r\n" .
'Reply-To: '.$s_email. "\r\n" .
'X-Mailer: PHP/' . phpversion();

I posted it now as bug

I posted it now as bug report on this page.
Thanx

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-8698264690166658"
data-ad-slot="4417389723">