Parse the given sequence of addresses into InternetAddress objects. If strict is false, simple email addresses separated by spaces are also allowed. If strict is true, many (but not all) of the RFC822 syntax rules are enforced. In particular, even if strict is true, addresses composed of simple names (with no "@domain" part) are allowed. Such "illegal" addresses are not uncommon in real messages. Non-strict parsing is typically used when parsing a list of mail addresses entered by a human. Strict parsing is typically used when parsing address headers in mail messages.Parameters:addresslist - comma separated address stringsstrict - enforce RFC822 syntax
boolean strict)
throws AddressException
意思就是如果strict如果为false,对你的地址限制就比较松,如果为true,只有RFC822 语法的才行。