Searched refs:msg (Results 1 - 25 of 90) sorted by relevance

1234

/javamail/mail/src/main/java/javax/mail/event/
H A DMessageChangedEvent.java69 transient protected Message msg; field in class:MessageChangedEvent
77 * @param msg The changed message
79 public MessageChangedEvent(Object source, int type, Message msg) { argument
81 this.msg = msg;
98 return msg;
H A DTransportEvent.java96 transient protected Message msg; field in class:TransportEvent
109 * @param msg the message being sent
113 Message msg) {
119 this.msg = msg;
163 return msg;
111 TransportEvent(Transport transport, int type, Address[] validSent, Address[] validUnsent, Address[] invalid, Message msg) argument
/javamail/mail/src/main/java/com/sun/mail/imap/
H A DIMAPNestedMessage.java55 private IMAPMessage msg; // the enclosure of this nested message field in class:IMAPNestedMessage
65 msg = m;
78 return msg.getProtocol();
85 return msg.isREV1();
93 return msg.getMessageCacheLock();
101 return msg.getSequenceNumber();
109 msg.checkExpunged();
117 return msg.isExpunged();
124 return msg.getFetchBlockSize();
131 return msg
[all...]
H A DUtility.java83 IMAPMessage msg;
85 msg = (IMAPMessage)msgs[i];
86 if (msg.isExpunged()) // expunged message, skip it
89 current = msg.getSequenceNumber();
91 if ((cond != null) && !cond.test(msg))
100 msg = (IMAPMessage)msgs[i];
102 if (msg.isExpunged()) // expunged message, skip it
104 next = msg.getSequenceNumber();
107 if ((cond != null) && !cond.test(msg))
176 IMAPMessage msg;
[all...]
H A DModifiedSinceTerm.java81 * @param msg the date comparator is applied to this Message's
85 public boolean match(Message msg) { argument
89 if (msg instanceof IMAPMessage)
90 m = ((IMAPMessage)msg).getModSeq();
H A DIMAPInputStream.java56 private IMAPMessage msg; // this message field in class:IMAPInputStream
78 * @param msg the IMAPMessage the data will come from
83 public IMAPInputStream(IMAPMessage msg, String section, int max, argument
85 this.msg = msg;
90 blksize = msg.getFetchBlockSize();
99 synchronized (msg.getMessageCacheLock()) {
101 msg.getProtocol().noop();
103 throw new FolderClosedIOException(msg.getFolder(),
112 if (msg
[all...]
/javamail/android/activation/src/main/java/com/sun/activation/registries/
H A DLogSupport.java70 public static void log(String msg) { argument
72 System.out.println(msg);
73 logger.log(level, msg);
76 public static void log(String msg, Throwable t) { argument
78 System.out.println(msg + "; Exception: " + t);
79 logger.log(level, msg, t);
/javamail/gimap/src/main/java/com/sun/mail/gimap/
H A DGmailMsgIdTerm.java69 * @param msg the Message number is matched with this Message
72 public boolean match(Message msg) { argument
76 if (msg instanceof GmailMessage)
77 msgId = ((GmailMessage)msg).getMsgId();
H A DGmailThrIdTerm.java69 * @param msg the Message number is matched with this Message
72 public boolean match(Message msg) { argument
76 if (msg instanceof GmailMessage)
77 thrId = ((GmailMessage)msg).getThrId();
/javamail/mail/src/test/java/javax/mail/internet/
H A DReferencesTest.java106 MimeMessage msg = new MimeMessage(session);
107 msg.setFrom();
108 msg.setRecipients(Message.RecipientType.TO, "you@example.com");
109 msg.setSubject("test");
111 msg.setHeader("Message-Id", msgid);
113 msg.setHeader("References", ref);
115 msg.setHeader("In-Reply-To", irt);
116 msg.setText("text");
118 MimeMessage reply = (MimeMessage)msg.reply(false);
/javamail/mail/src/main/java/com/sun/mail/util/
H A DMailLogger.java232 * @param msg the message.
234 public void log(Level level, String msg) { argument
235 ifDebugOut(msg);
238 logger.logp(level, frame.getClassName(), frame.getMethodName(), msg);
245 * @param msg the message.
248 public void log(Level level, String msg, Object param1) { argument
250 msg = MessageFormat.format(msg, new Object[] { param1 });
251 debugOut(msg);
256 logger.logp(level, frame.getClassName(), frame.getMethodName(), msg, param
266 log(Level level, String msg, Object params[]) argument
286 logf(Level level, String msg, Object... params) argument
298 log(Level level, String msg, Throwable thrown) argument
318 config(String msg) argument
326 fine(String msg) argument
334 finer(String msg) argument
342 finest(String msg) argument
360 ifDebugOut(String msg) argument
369 debugOut(String msg) argument
[all...]
/javamail/mail/src/main/java/javax/mail/search/
H A DMessageNumberTerm.java67 * @param msg the Message number is matched with this Message
70 public boolean match(Message msg) { argument
74 msgno = msg.getMessageNumber();
H A DSearchTerm.java73 * @param msg The match criterion is applied on this message
77 public abstract boolean match(Message msg); argument
H A DMessageIDTerm.java73 * @param msg the match is applied to this Message's
77 public boolean match(Message msg) { argument
81 s = msg.getHeader("Message-ID");
H A DReceivedDateTerm.java69 * @param msg the date comparator is applied to this Message's
73 public boolean match(Message msg) { argument
77 d = msg.getReceivedDate();
H A DSentDateTerm.java69 * @param msg the date comparator is applied to this Message's
73 public boolean match(Message msg) { argument
77 d = msg.getSentDate();
H A DSizeTerm.java68 * @param msg the size comparator is applied to this Message's size
71 public boolean match(Message msg) { argument
75 size = msg.getSize();
H A DSubjectTerm.java70 * @param msg the pattern match is applied to this Message's
74 public boolean match(Message msg) { argument
78 subj = msg.getSubject();
/javamail/mail/src/oldtest/java/javax/mail/internet/
H A Dmessagecachetest.java211 MimeMessage msg = new MimeMessage(session);
212 msg.setSentDate(new Date());
213 msg.setFrom();
214 msg.setRecipients(Message.RecipientType.TO, "nobody@nowhere.com");
215 msg.setSubject(Integer.toString(i));
216 msg.setText(i + "\n");
217 msg.saveChanges();
218 msgs[i-1] = msg;
228 Message msg = folder.getMessage(i);
229 msgs[i-1] = msg;
[all...]
/javamail/demo/src/main/java/
H A Dmsgmultisendsample.java75 MimeMessage msg = new MimeMessage(session);
76 msg.setFrom(new InternetAddress(from));
78 msg.setRecipients(Message.RecipientType.TO, address);
79 msg.setSubject("JavaMail APIs Multipart Test");
80 msg.setSentDate(new Date());
97 msg.setContent(mp);
100 Transport.send(msg);
H A Dsendfile.java79 MimeMessage msg = new MimeMessage(session);
80 msg.setFrom(new InternetAddress(from));
82 msg.setRecipients(Message.RecipientType.TO, address);
83 msg.setSubject(subject);
115 msg.setContent(mp);
118 msg.setSentDate(new Date());
125 msg.saveChanges();
130 Transport.send(msg);
/javamail/mail/src/main/java/javax/mail/
H A DMessageContext.java121 Message msg = getMessage();
122 return msg != null ? msg.getSession() : null;
H A DTransport.java110 * <code>Transport.send(msg);</code>, and should never be invoked
113 * @param msg the message to send
122 public static void send(Message msg) throws MessagingException { argument
123 msg.saveChanges(); // do this first
124 send0(msg, msg.getAllRecipients(), null, null);
133 * @param msg the message to send
142 public static void send(Message msg, Address[] addresses) argument
145 msg.saveChanges();
146 send0(msg, addresse
170 send(Message msg, String user, String password) argument
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
414 notifyTransportListeners(int type, Address[] validSent, Address[] validUnsent, Address[] invalid, Message msg) argument
[all...]
/javamail/dsn/src/test/java/com/sun/mail/dsn/
H A DMultipartReportTest.java60 MimeMessage msg = new MimeMessage(session);
76 msg.setContent(mp);
77 msg.saveChanges();
78 msg.writeTo(new NullOutputStream());
/javamail/taglib/src/main/java/demo/
H A DSendTag.java104 Message msg = new MimeMessage(session);
110 msg.setRecipients(Message.RecipientType.TO, toAddrs);
115 msg.setFrom(new InternetAddress(sender));
121 msg.setRecipients(Message.RecipientType.CC, ccAddrs);
125 msg.setSubject(subject);
128 msg.setText(body);
130 msg.setText("");
132 Transport.send(msg);

Completed in 418 milliseconds

1234