Pascal Peridont 18 years ago
parent
commit
146c5226fa
1 changed files with 4 additions and 1 deletions
  1. 4 1
      std/mtwin/mail/Tools.hx

+ 4 - 1
std/mtwin/mail/Tools.hx

@@ -432,7 +432,10 @@ class Tools {
 				address = REG_ADDRESS.matched(1);
 				s = REG_ADDRESS.matchedRight();
 			}else if( REG_ROUTE_ADDR.match(s) ){
-				if( address != null ) throw Exception.ParseError(str+", near: "+s.substr(0,15));
+				if( address != null ){
+					if( name == null ) name = address;
+					else name += " "+address;
+				}
 				address = REG_ROUTE_ADDR.matched(1);
 				s = REG_ROUTE_ADDR.matchedRight();
 			}else if( REG_ATOM.match(s) ){