> Attached please find a patch for version 0.9.2.5.
> This should fix your problem with encoding of email. 
> At the moment I can not test this patch.
> So could you please test it yourself on
> your system and let me know the results.

hmm when i look at the patch, it does not patch this line:
$subject = "=?" . $encoding . "?B?" . $enc_subject . "?=";
and this line is making the problem or?
or does an email decode this when there is utf8 in?
so if there is =?utf-8?B?T3BlbkNBIFplcnRpZmlrYXRzaW5mb3JtYXRpb25lbg==?=
then all should be ok or what?


i'm a "little" bit confused :(


> > i have a HUGE problem with the email generation.
> > this is from lib/functions/crypto-utils.lib line 1606:
> > 
> >     my $subject = gettext ("OpenCA Certificate information");
> >     my $enc_subject = MIME::Base64::encode($subject,"");
> >     $subject = "=?" . $encoding . "?B?" . $enc_subject . "?=";
> >     my $to = crypto_get_admin_account();
> >        $to = $cert->getParsed()->{EMAILADDRESS}
> >           if ( defined $cert->getParsed()->{EMAILADDRESS} and
> > $cert->getParsed()->{EMAILADDRESS} );
> > 
> >     $no_enc_msg .= "To: $to\n".
> >                    "From: ".crypto_get_admin_account()."\n".
> >                    "Subject: $subject\n".
> >                    "\n$new_msg\n";
> > 
> > you can see here, that the subject is created in a very
> > strange way, so ist looks like this:
> > [EMAIL PROTECTED]
> > 
> > when sending the mails, the subject is not parsed back to a
> > readable form. i propose, that this is working for others,
> > but its not working for me :(

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to