Hi,

If you need more info about syntax of encoded 
words in message headers, please read the 
documentation about it.
For example, here:

http://www.ietf.org/rfc/rfc2047.txt

Regards, Julia.


----- Original Message ----- 
From: "Obes, Til" <[EMAIL PROTECTED]>
To: <openca-devel@lists.sourceforge.net>
Sent: Friday, February 03, 2006 5:46 PM
Subject: RE: [OpenCA-Devel] Creating Mails


> 
> > 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 :(
> 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
OpenCA-Devel mailing list
OpenCA-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openca-devel

Reply via email to