emailservices/nmutilities/src/emailmailboxinfo_p.cpp
changeset 76 38bf5461e270
parent 74 6c59112cfd31
--- a/emailservices/nmutilities/src/emailmailboxinfo_p.cpp	Thu Sep 30 11:43:07 2010 +0300
+++ b/emailservices/nmutilities/src/emailmailboxinfo_p.cpp	Thu Oct 14 17:33:43 2010 +0300
@@ -128,8 +128,14 @@
     
     QString returnValue = "";
 
-    if (identifier.length() > 0) {
-        processCenRepRecords(identifier);
+    QString domainName = identifier;
+    int delimIndex = domainName.lastIndexOf('@');
+    if(delimIndex >= 0) {
+        domainName = domainName.mid(delimIndex + 1);
+    }
+
+    if (domainName.length() > 0) {
+        processCenRepRecords(domainName);
         returnValue = mTempIcon;
     }