Changeset 274 for branches/LogicMail-1.0/LogicMail/src/org/logicprobe/LogicMail/mail/imap/ImapParser.java
- Timestamp:
- 08/19/08 07:51:07 PM (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/LogicMail-1.0/LogicMail/src/org/logicprobe/LogicMail/mail/imap/ImapParser.java
r198 r274 213 213 hostName = (String)entry.elementAt(3); 214 214 } 215 216 String addrStr = 217 (mbName.equals(strNIL) ? "" : mbName) + 218 (hostName.equals(strNIL) ? "" : ('@' + hostName)); 215 219 // Now assemble these into a single address entry 216 220 // (possibly eventually storing them separately) 217 221 if(realName.length() > 0 && !realName.equals(strNIL)) { 218 addrList[index] = realName + " <" + mbName + "@" + hostName+ ">";222 addrList[index] = realName + " <" + addrStr + ">"; 219 223 } 220 224 else { 221 addrList[index] = mbName + "@" + hostName;225 addrList[index] = addrStr; 222 226 } 223 227 index++;
