Searched refs:addrs (Results 1 - 4 of 4) sorted by relevance

/javamail/taglib/src/main/java/demo/
H A DMessageInfo.java260 private String formatAddresses(Address[] addrs) { argument
261 if (addrs == null)
263 StringBuffer strBuf = new StringBuffer(getDisplayAddress(addrs[0]));
264 for (int i = 1; i < addrs.length; i++) {
265 strBuf.append(", ").append(getDisplayAddress(addrs[i]));
/javamail/mail/src/main/java/javax/mail/internet/
H A DMimeMessage.java1762 * Check addrs for any duplicates that may already be in v.
1766 private Address[] eliminateDuplicates(List<Address> v, Address[] addrs) { argument
1767 if (addrs == null)
1770 for (int i = 0; i < addrs.length; i++) {
1774 if (((InternetAddress)v.get(j)).equals(addrs[i])) {
1778 addrs[i] = null;
1783 v.add(addrs[i]); // add new address to list
1790 if (addrs instanceof InternetAddress[])
1791 a = new InternetAddress[addrs.length - gone];
1793 a = new Address[addrs
[all...]
/javamail/demo/src/main/java/
H A Dtransport.java64 InternetAddress[] addrs = null;
83 addrs = InternetAddress.parse(args[0], false);
96 t.go(session, addrs, from);
/javamail/mail/src/test/java/javax/mail/internet/
H A DMimeMessageTest.java213 InternetAddress[] addrs = InternetAddress.parse(
215 msg.setReplyTo(addrs); // use Reply-To because it's a long header name

Completed in 59 milliseconds