[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 105405] missing feedback when address parsing fails while
From:       Andreas Gungl <a.gungl () gmx ! de>
Date:       2005-07-10 15:28:43
Message-ID: 20050710152843.24599.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=105405         
a.gungl gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From a.gungl gmx de  2005-07-10 17:28 -------
SVN commit 433367 by gungl:

If the address can't get parsed correctly from the From: header,
we don't abort the filter creation, but we use the From: header
of the message directly in the filter.

BUGS: 105405


 M  +4 -2      kmmainwidget.cpp  


--- trunk/KDE/kdepim/kmail/kmmainwidget.cpp #433366:433367
 @ -1398,9 +1398,11  @
     return;
 
   AddrSpecList al = msg->extractAddrSpecs( "From" );
+  KMCommand *command;
   if ( al.empty() )
-    return;
-  KMCommand *command = new KMFilterCommand( "From",  al.front().asString() );
+    command = new KMFilterCommand( "From",  msg->from() );
+  else
+    command = new KMFilterCommand( "From",  al.front().asString() );
   command->start();
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic