Searched refs:MimeMessage (Results 1 - 25 of 50) sorted by relevance

12

/javamail/mail/src/test/java/javax/mail/internet/
H A DRestrictEncodingTest.java67 MimeMessage m = createMessage();
77 MimeMessage m = createMessage();
81 MimeMessage m2 = (MimeMessage)bp.getContent();
87 MimeMessage m = new MimeMessage(s);
92 MimeMessage m2 = new MimeMessage(s);
102 m = new MimeMessage(m); // copy it
106 m2 = (MimeMessage)b
[all...]
H A DModifyMessageTest.java65 MimeMessage m = createMessage();
70 MimeMessage m2 = new MimeMessage(m);
76 MimeMessage m = createMessage();
81 MimeMessage m2 = new MimeMessage(m);
87 MimeMessage m = createMessage();
94 MimeMessage m2 = new MimeMessage(m);
107 MimeMessage
[all...]
H A DMimeMessageTest.java53 import static javax.mail.internet.MimeMessage.RecipientType.*;
61 * Test MimeMessage methods.
78 MimeMessage m = new MimeMessage(s);
92 MimeMessage m = new MimeMessage(s);
107 MimeMessage m = new MimeMessage(s);
120 MimeMessage m = new MimeMessage(
[all...]
H A DMimeMultipartPropertyTest.java76 MimeMessage m = createMessage("x", "x", true);
85 MimeMessage m = createMessage("x", "-", true);
92 MimeMessage m = createMessage(null, "x", true);
101 MimeMessage m = createMessage(null, "x", true);
109 MimeMessage m = createMessage("x", "x", false);
118 MimeMessage m = createMessage("x", "x", false);
127 MimeMessage m = createEmptyMessage();
134 MimeMessage m = createEmptyMessage();
143 MimeMessage m = new MimeMessage(
[all...]
H A DAddAddressHeaderTest.java48 import javax.mail.internet.MimeMessage;
73 MimeMessage m = new MimeMessage(s);
97 MimeMessage m = new MimeMessage(s);
H A DAddFromTest.java47 import javax.mail.internet.MimeMessage;
75 MimeMessage m = new MimeMessage(s);
83 MimeMessage m = new MimeMessage(s);
H A DAllowEncodedMessages.java70 MimeMessage m = createMessage();
75 MimeMessage m2 = (MimeMessage)bp.getContent();
86 private static MimeMessage createMessage() throws MessagingException {
102 return new MimeMessage(s, new AsciiStringInputStream(content));
H A DNonAsciiBoundaryTest.java65 MimeMessage m = createMessage();
74 private static MimeMessage createMessage() throws MessagingException {
90 return new MimeMessage(s, new AsciiStringInputStream(content, false));
H A DMimeMessageTestSuite.java50 * Suite of MimeMessage tests that need to be run in a separate class loader.
53 @TestClass(MimeMessage.class)
H A DReferencesTest.java106 MimeMessage msg = new MimeMessage(session);
118 MimeMessage reply = (MimeMessage)msg.reply(false);
H A DMimeBodyPartTest.java92 MimeMessage orig = createMessage(s);
97 MimeMessage msg = new MimeMessage(s);
104 msg = new MimeMessage(msg);
120 MimeMessage orig = createMessage(s);
125 MimeMessage msg = new MimeMessage(s);
133 msg = new MimeMessage(msg);
190 private static MimeMessage createMessage(Session s)
206 return new MimeMessage(
[all...]
H A DMimeMultipartPreambleTest.java48 import javax.mail.internet.MimeMessage;
124 MimeMessage mimeMessage = new MimeMessage(session,
H A DMimeMultipartParseTest.java103 MimeMessage msg = new MimeMessage(session);
143 msg = new MimeMessage(session, shared ?
/javamail/dsn/src/test/java/com/sun/mail/dsn/
H A DMultipartReportTest.java46 import javax.mail.internet.MimeMessage;
60 MimeMessage msg = new MimeMessage(session);
/javamail/mail/src/test/java/com/sun/mail/util/
H A DContentTypeCleaner.java52 import javax.mail.internet.MimeMessage;
74 MimeMessage m = createMessage();
83 MimeMessage m = createMessage();
92 MimeMessage m = createMessage();
107 private static MimeMessage createMessage() throws MessagingException {
130 return new MimeMessage(s, new AsciiStringInputStream(content));
/javamail/mail/src/test/java/com/sun/mail/smtp/
H A DSMTPIOExceptionTest.java51 import javax.mail.internet.MimeMessage;
115 MimeMessage msg = new MimeMessage(session);
H A DSMTPWriteTimeoutTest.java51 import javax.mail.internet.MimeMessage;
98 MimeMessage msg = new MimeMessage(session);
/javamail/dsn/src/main/java/com/sun/mail/dsn/
H A DMessageHeaders.java50 * A special MimeMessage object that contains only message headers,
55 public class MessageHeaders extends MimeMessage {
H A DMultipartReport.java127 public MultipartReport(String text, Report report, MimeMessage msg)
338 public synchronized MimeMessage getReturnedMessage()
347 return (MimeMessage)bp.getContent();
362 public synchronized void setReturnedMessage(MimeMessage msg)
/javamail/demo/src/main/java/
H A Dmsgmultisendsample.java75 MimeMessage msg = new MimeMessage(session);
H A Dsendfile.java79 MimeMessage msg = new MimeMessage(session);
H A Dmsgsendsample.java76 MimeMessage msg = new MimeMessage(session);
/javamail/mail/src/main/java/javax/mail/internet/
H A DMimePartDataSource.java89 * @see javax.mail.internet.MimeMessage#getContentStream
100 else if (part instanceof MimeMessage)
101 is = ((MimeMessage)part).getContentStream();
/javamail/outlook/src/main/java/
H A DMSMessage.java48 * @see javax.mail.internet.MimeMessage
51 public class MSMessage extends MimeMessage {
55 * Constructor that converts a MimeMessage object into a MSMessage.
57 * @exception MessagingException if the given MimeMessage
60 * MimeMessage object
62 public MSMessage(Session session, MimeMessage msg)
187 * Check whether the given MimeMessage object represents a
193 public static boolean isMSMessage(MimeMessage msg)
/javamail/mail/src/main/java/com/sun/mail/smtp/
H A DSMTPMessage.java48 * This class is a specialization of the MimeMessage class that allows
51 * instead of MimeMessage and set SMTP options using the methods on
58 * @see javax.mail.internet.MimeMessage
61 public class SMTPMessage extends MimeMessage {
116 * <code>source</code> MimeMessage. The new message is independent
125 public SMTPMessage(MimeMessage source) throws MessagingException {

Completed in 27 milliseconds

12