Searched refs:RecipientType (Results 1 - 25 of 33) sorted by relevance

12

/javamail/mail/src/main/java/javax/mail/
H A DMessage.java216 * Address[] a = m.getRecipients(Message.RecipientType.TO);
224 public static class RecipientType implements Serializable { class in class:Message
228 public static final RecipientType TO = new RecipientType("To");
232 public static final RecipientType CC = new RecipientType("Cc");
236 public static final RecipientType BCC = new RecipientType("Bcc");
253 protected RecipientType(String type) { method in class:Message.RecipientType
258 * When deserializing a RecipientType, w
[all...]
/javamail/mail/src/main/java/javax/mail/search/
H A DRecipientStringTerm.java64 private Message.RecipientType type;
74 public RecipientStringTerm(Message.RecipientType type, String pattern) {
84 public Message.RecipientType getRecipientType() {
H A DRecipientTerm.java59 private Message.RecipientType type;
69 public RecipientTerm(Message.RecipientType type, Address address) {
79 public Message.RecipientType getRecipientType() {
/javamail/mail/src/test/java/javax/mail/internet/
H A DAddAddressHeaderTest.java83 testRecipients(Message.RecipientType.TO);
88 testRecipients(Message.RecipientType.CC);
93 testRecipients(Message.RecipientType.BCC);
96 private void testRecipients(Message.RecipientType type) throws Exception {
101 // XXX - depends on RecipientType.toString
H A DReferencesTest.java108 msg.setRecipients(Message.RecipientType.TO, "you@example.com");
H A DMimeMessageTest.java52 import static javax.mail.Message.RecipientType.*;
53 import static javax.mail.internet.MimeMessage.RecipientType.*;
/javamail/taglib/src/main/java/demo/
H A DMessageInfo.java51 message.getRecipients(Message.RecipientType.BCC));
84 message.getRecipients(Message.RecipientType.CC));
169 message.getRecipients(Message.RecipientType.TO));
191 return (message.getRecipients(Message.RecipientType.BCC) != null);
198 return (message.getRecipients(Message.RecipientType.CC) != null);
247 return (message.getRecipients(Message.RecipientType.TO) != null);
H A DSendTag.java110 msg.setRecipients(Message.RecipientType.TO, toAddrs);
121 msg.setRecipients(Message.RecipientType.CC, ccAddrs);
/javamail/mail/src/test/java/javax/mail/search/
H A DSearchTermSerializationTest.java74 new RecipientStringTerm(Message.RecipientType.CC, "foo")
77 new RecipientTerm(MimeMessage.RecipientType.NEWSGROUPS,
/javamail/mail/src/main/java/javax/mail/internet/
H A DMimeMessage.java504 * This inner class extends the javax.mail.Message.RecipientType
506 * RecipientType currently defined here is NEWSGROUPS.
508 * @see javax.mail.Message.RecipientType
510 public static class RecipientType extends Message.RecipientType { class in class:MimeMessage
517 public static final RecipientType NEWSGROUPS =
518 new RecipientType("Newsgroups");
519 protected RecipientType(String type) { method in class:MimeMessage.RecipientType
536 * Message.RecipientType.TO "To"
537 * Message.RecipientType
[all...]
/javamail/demo/src/main/java/
H A Dmsgmultisendsample.java78 msg.setRecipients(Message.RecipientType.TO, address);
H A Dsendfile.java82 msg.setRecipients(Message.RecipientType.TO, address);
H A Dmsgsend.java154 msg.setRecipients(Message.RecipientType.TO,
157 msg.setRecipients(Message.RecipientType.CC,
160 msg.setRecipients(Message.RecipientType.BCC,
H A Dsendhtml.java147 msg.setRecipients(Message.RecipientType.TO,
150 msg.setRecipients(Message.RecipientType.CC,
153 msg.setRecipients(Message.RecipientType.BCC,
H A Dsmtpsend.java207 msg.setRecipients(Message.RecipientType.TO,
210 msg.setRecipients(Message.RecipientType.CC,
213 msg.setRecipients(Message.RecipientType.BCC,
H A Dmsgsendsample.java79 msg.setRecipients(Message.RecipientType.TO, address);
/javamail/mail/src/test/java/com/sun/mail/smtp/
H A DSMTPIOExceptionTest.java116 msg.setRecipients(Message.RecipientType.TO, "joe@example.com");
H A DSMTPWriteTimeoutTest.java99 msg.setRecipients(Message.RecipientType.TO, "joe@example.com");
/javamail/demo/src/main/java/internal/
H A Danswer.java252 new RecipientTerm(Message.RecipientType.TO, javamailAddress),
253 new RecipientTerm(Message.RecipientType.CC, javamailAddress));
326 recipients = msg.getRecipients(Message.RecipientType.TO);
H A Dmsgsperweek.java169 SearchTerm term = new RecipientTerm(Message.RecipientType.TO,
184 Address[] recs=msgs[i].getRecipients(Message.RecipientType.TO);
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/
H A DSearchSequence.java327 protected Argument recipient(Message.RecipientType type,
332 if (type == Message.RecipientType.TO)
334 else if (type == Message.RecipientType.CC)
336 else if (type == Message.RecipientType.BCC)
/javamail/servlet/src/main/java/
H A DJavaMailServlet.java400 Address[] to = msg.getRecipients(Message.RecipientType.TO);
411 Address[] cc = msg.getRecipients(Message.RecipientType.CC);
565 msg.setRecipients(Message.RecipientType.TO, toAddrs);
571 msg.setRecipients(Message.RecipientType.CC, ccAddrs);
/javamail/mail/src/main/java/com/sun/mail/imap/
H A DIMAPMessage.java367 public Address[] getRecipients(Message.RecipientType type)
374 if (type == Message.RecipientType.TO)
376 else if (type == Message.RecipientType.CC)
378 else if (type == Message.RecipientType.BCC)
384 public void setRecipients(Message.RecipientType type, Address[] addresses)
389 public void addRecipients(Message.RecipientType type, Address[] addresses)
/javamail/
H A Dmail.sig204 innr public static RecipientType
212 meth public abstract javax.mail.Address[] getRecipients(javax.mail.Message$RecipientType) throws javax.mail.MessagingException
216 meth public abstract void addRecipients(javax.mail.Message$RecipientType,javax.mail.Address[]) throws javax.mail.MessagingException
221 meth public abstract void setRecipients(javax.mail.Message$RecipientType,javax.mail.Address[]) throws javax.mail.MessagingException
231 meth public void addRecipient(javax.mail.Message$RecipientType,javax.mail.Address) throws javax.mail.MessagingException
233 meth public void setRecipient(javax.mail.Message$RecipientType,javax.mail.Address) throws javax.mail.MessagingException
237 CLSS public static javax.mail.Message$RecipientType
241 fld public final static javax.mail.Message$RecipientType BCC
242 fld public final static javax.mail.Message$RecipientType CC
243 fld public final static javax.mail.Message$RecipientType T
[all...]
/javamail/client/src/main/java/
H A DMessageViewer.java153 adds = displayed.getRecipients(Message.RecipientType.TO);

Completed in 3135 milliseconds

12