Searched defs:addresses (Results 1 - 9 of 9) sorted by relevance

/javamail/mail/src/test/java/javax/mail/internet/
H A DAddFromTest.java60 private static final InternetAddress[] addresses; field in class:AddFromTest
70 addresses = new InternetAddress[] { iaddr };
76 m.addFrom(addresses);
85 m.addFrom(addresses);
/javamail/mail/src/main/java/javax/mail/internet/
H A DNewsAddress.java85 // illegal addresses, but for now just remove whitespace
175 * @param addresses array of NewsAddress objects
181 public static String toString(Address[] addresses) { argument
182 if (addresses == null || addresses.length == 0)
186 new StringBuffer(((NewsAddress)addresses[0]).toString());
188 for (int i = 1; i < addresses.length; i++) {
191 String ng = ((NewsAddress)addresses[i]).toString();
H A DInternetAddress.java428 * @param addresses array of InternetAddress objects
432 * @return comma separated string of addresses
434 public static String toString(Address[] addresses) { argument
435 return toString(addresses, 0);
449 * @param addresses array of InternetAddress objects
456 * @return comma separated string of addresses
458 public static String toString(Address[] addresses, int used) { argument
459 if (addresses == null || addresses.length == 0)
464 for (int i = 0; i < addresses
[all...]
H A DMimeMessage.java73 * strict parsing is not done and many illegal addresses that sometimes
179 // Should addresses in headers be parsed in "strict" mode?
401 * replaced with the given addresses. If address is <code>null</code>,
447 * Add the specified addresses to the existing "From" field. If
450 * @param addresses the senders of this message
458 public void addFrom(Address[] addresses) throws MessagingException { argument
459 addAddressHeader("From", addresses);
569 * Get all the recipient addresses for the message.
588 Address[] addresses = new Address[all.length + ng.length];
589 System.arraycopy(all, 0, addresses,
609 setRecipients(Message.RecipientType type, Address[] addresses) argument
638 setRecipients(Message.RecipientType type, String addresses) argument
662 addRecipients(Message.RecipientType type, Address[] addresses) argument
687 addRecipients(Message.RecipientType type, String addresses) argument
726 setReplyTo(Address[] addresses) argument
738 setAddressHeader(String name, Address[] addresses) argument
747 addAddressHeader(String name, Address[] addresses) argument
[all...]
/javamail/mail/src/main/java/javax/mail/
H A DTransport.java81 * addresses specified in the message (as returned from the
87 * If any of the recipient addresses is detected to be invalid by
91 * to any valid addresses depends on the Transport implementation. See
128 * Send the message to the specified addresses, ignoring any
134 * @param addresses the addresses to which to send the message
142 public static void send(Message msg, Address[] addresses) argument
146 send0(msg, addresses, null, null);
151 * addresses specified in the message (as returned from the
178 * Send the message to the specified addresses, ignorin
198 send(Message msg, Address[] addresses, String user, String password) argument
206 send0(Message msg, Address[] addresses, String user, String password) argument
363 sendMessage(Message msg, Address[] addresses) argument
[all...]
H A DMessage.java152 * this attribute is present, but contains no addresses.
188 * Add these addresses to the existing "From" attribute
190 * @param addresses the senders
198 public abstract void addFrom(Address[] addresses) argument
285 * Get all the recipient addresses of the given type. <p>
289 * empty array if the header is present, but contains no addresses.
302 * Get all the recipient addresses for the message.
308 * if any recipient header is present, but contains no addresses.
329 Address[] addresses = new Address[numRecip];
332 System.arraycopy(to, 0, addresses, po
359 setRecipients(RecipientType type, Address[] addresses) argument
398 addRecipients(RecipientType type, Address[] addresses) argument
460 setReplyTo(Address[] addresses) argument
[all...]
/javamail/mail/src/main/java/com/sun/mail/imap/
H A DIMAPMessage.java341 public void addFrom(Address[] addresses) throws MessagingException { argument
384 public void setRecipients(Message.RecipientType type, Address[] addresses) argument
389 public void addRecipients(Message.RecipientType type, Address[] addresses) argument
395 * Get the ReplyTo addresses.
413 public void setReplyTo(Address[] addresses) throws MessagingException { argument
/javamail/mail/src/main/java/com/sun/mail/smtp/
H A DSMTPTransport.java98 private Address[] addresses; // Addresses to which to send the msg field in class:SMTPTransport
99 // Valid sent, valid unsent and invalid addresses
101 // Did we send the message even though some addresses were invalid?
1176 * Send the Message to the specified list of addresses.<p>
1178 * If all the <code>addresses</code> succeed the SMTP check
1183 * If some of the <code>addresses</code> fail the SMTP check,
1186 * is fired containing the valid and invalid addresses. The
1189 * If some of the <code>addresses</code> fail the SMTP check,
1193 * is fired containing the valid and invalid addresses. The
1200 * @param addresses Lis
1210 sendMessage(Message message, Address[] addresses) argument
[all...]
/javamail/mail/src/test/java/com/sun/mail/util/logging/
H A DMailHandlerTest.java3460 //User didn't specify so auto compute addresses.
3468 //User override of TO and FROM addresses.
3488 private void testDefaultRecipient(Properties addresses) throws Exception { argument
3552 props.putAll(addresses);
6818 return String.valueOf(t).contains("No recipient addresses");

Completed in 112 milliseconds