Searched refs:textPart (Results 1 – 2 of 2) sorted by relevance
93 public static BodyPart textPart(String mimeType, String text) throws MessagingException { in textPart() method in MessageTestUtils95 final MimeBodyPart textPart = new MimeBodyPart(textBody); in textPart() local96 textPart.setHeader(MimeHeader.HEADER_CONTENT_TYPE, mimeType); in textPart()97 return textPart; in textPart()
256 final MessagePartData textPart = MessagePartData.createTextMessagePart(text);257 textPart.updatePartId(partId);258 textPart.updateMessageId(messageId);259 return textPart;