Constructor and Description |
---|
MimeMessageBuilder(jakarta.mail.Session session) |
Modifier and Type | Method and Description |
---|---|
jakarta.mail.internet.MimeMessage |
build() |
MimeMessageBuilder |
setFrom(String from) |
MimeMessageBuilder |
setRecipients(jakarta.mail.Message.RecipientType recipientType,
String recipients) |
MimeMessageBuilder |
setReplyTo(String replyTo) |
MimeMessageBuilder |
setSubject(String subject) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getErrorPrefix, isValid
public MimeMessageBuilder setFrom(String from) throws jakarta.mail.MessagingException
jakarta.mail.MessagingException
public MimeMessageBuilder setReplyTo(String replyTo) throws jakarta.mail.MessagingException
jakarta.mail.MessagingException
public MimeMessageBuilder setRecipients(jakarta.mail.Message.RecipientType recipientType, String recipients) throws jakarta.mail.MessagingException
jakarta.mail.MessagingException
public MimeMessageBuilder setSubject(String subject) throws jakarta.mail.MessagingException
jakarta.mail.MessagingException
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.