Re: Is there any Plugin to parse the “quoted email text” part in a mail (replied mail part)

2010-03-04 Thread Karsten Bräckelmann
Do keep list posts on-list.  Reply to the list, not me personally.

On Wed, 2010-03-03 at 13:14 +0530, subbi.red...@gmail.com wrote:
 If we give a reply to the mail,  the  replied mail contains the
 original message and replied message as we already know.
 
 Here I want to retrieve only original message. 

Well, what for?

Is this even a SA question? If so, please do explain what you really
want to do, and what you want to solve by this. No, retrieve original
message is not sufficient.


 I can easily identify the replied part  for Gmail since they appends
 the “” character prefix to each line for a replied mail.
 
 but each mail client is having their own pattern to distinguish the
 replied part. 
 
 
 So please help me to get the regular-expression(s) required to parse
 the replied part of a mail for different mail clients.

[ Bad HTML formatted foll-quote under -- snipped. ]

-- 
char *t=\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4;
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;il;i++){ i%8? c=1:
(c=*++x); c128  (s+=h); if (!(h=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}



Re: Is there any Plugin to parse the “quoted email text” part in a mail (replied mail part)

2010-02-26 Thread Karsten Bräckelmann
On Fri, 2010-02-26 at 14:15 +0530, testsubbitesdsf{82} wrote:
 Hi 

Uhm, what's with your real name? (Rewritten in RE style.) How do you
pronounce *82* f's in a row?

 Is there any Plugin to parse the  “quoted email text” part in a  mail
 (replied mail part) .
 
 I read the document that you are   performing some test cases against
 the mail to identify  a message is Spam or not.
 
 I have noticed Parse “quoted email text” is one test case in your test
 case list, but  I am not able to find the corresponding plugin to do
 this stuff.

There are a few specific rules around that general topic, but there's no
dedicated plugin for this.

 Please help me to solve the issue 

Which issue? Maybe it would be easier and more productive, if you start
by describing your actual issue and what you want to solve.


-- 
char *t=\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4;
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;il;i++){ i%8? c=1:
(c=*++x); c128  (s+=h); if (!(h=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}



Re: Is there any Plugin to parse the “quoted email text” part in a mail (replied mail part)

2010-02-26 Thread Charles Gregory

On Fri, 26 Feb 2010, LuKreme wrote:

On 26-Feb-10 11:31, Karsten Bräckelmann wrote:

 Uhm, what's with your real name? (Rewritten in RE style.) How do you
 pronounce *82* f's in a row?

Fff for 8.2 seconds.


That's ten fs a second? Wow. Fast little F'er. ;)

- C