1.
Option like subjectlogging=1
                subjectloggingstarttag="StartSub("
                subjectloggingendtag=")EndSub"

my $logsub = ( $subjectLogging ? " 
$subjectloggingstarttag[$this->{originalsubject}]$subjectloggingendtag " : "" );

it's example

2.what about to add

sub decodeMimeWord1 {
  my ($charset,$encoding,$text)=...@_;
  # ignore charset
  my $s;
  if (lc $encoding eq 'b') {
   $text=base64decode($text);
  } elsif (lc $encoding eq 'q') {
   $text=~s/_/\x20/g; # RFC 1522, Q rule 2
   $text=~s/=([\da-fA-F]{2})/pack('C', hex($1))/ge; # RFC 1522, Q rule 1
  };    
  my $converter=Text::Iconv->new($charset,"UTF-8");
  $text=$converter->convert($text);
  return $text;
 }

sub decodeMimeWord1 {
  my ($charset,$encoding,$text)=...@_;
  # ignore charset
  my $s;
  if (lc $encoding eq 'b') {
   $text=base64decode($text);
  } elsif (lc $encoding eq 'q') {
   $text=~s/_/\x20/g; # RFC 1522, Q rule 2
   $text=~s/=([\da-fA-F]{2})/pack('C', hex($1))/ge; # RFC 1522, Q rule 1
  };    
  my $converter=Text::Iconv->new($charset,"UTF-8");
  $text=$converter->convert($text);
  return $text;
 }

UTF-8 optional   

sub getheader(

what about 
$sub=decodeMimeWords1($sub);  
$sub=~y/a-zA-Z0-9/_/cs;
and none English subject 





С  уважением
Рыжов Антон Владимирович
системный администратор
Корпорация Галактика, ИП "ТопСофт"
220079, Республика Беларусь,
г. Минск, а/я 163,
ул, Сурганова 28 В - 203
тел.   : +375 (17) 294 99 98 (внутр. 1710)
факс. : +375 (17) 292 38 98
www.galaktika.by
 


-----Original Message-----
From: Fritz Borgstedt [mailto:[email protected]] 
Sent: Tuesday, March 17, 2009 4:49 PM
To: ASSP development mailing list
Subject: Re: [Assp-test] Antwort: logs

ASSP development mailing list <[email protected]>
schreibt:
>I replaced for example $logsub$fn with StartSub($logsub)EndSub$fn
>because could not definitely determine its [spam found or something
>else] or [subject]


How do you want it, please make an example.


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to