Class IncaMailMessage
java.lang.Object
ch.tocco.nice2.optional.incamail.impl.IncaMailMessage
- All Implemented Interfaces:
MailMessage
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.messaging.mail.spi.processing.MailMessage
MailMessage.HtmlPart
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.mail.internet.InternetAddress[]
getBcc()
jakarta.mail.internet.InternetAddress[]
getCC()
jakarta.mail.internet.InternetAddress[]
getFrom()
jakarta.mail.internet.InternetAddress[]
jakarta.mail.internet.InternetAddress[]
getTo()
void
setBcc
(jakarta.mail.Address[] bcc) void
setCc
(jakarta.mail.Address[] cc) void
setFrom
(jakarta.mail.Address from) void
setReplyTo
(jakarta.mail.Address[] replyTo) void
setSender
(@Nullable jakarta.mail.Address sender) void
setTo
(jakarta.mail.Address[] to) boolean
unwrap()
-
Constructor Details
-
IncaMailMessage
-
-
Method Details
-
supportsModifyingSender
public boolean supportsModifyingSender()- Specified by:
supportsModifyingSender
in interfaceMailMessage
-
getFrom
public jakarta.mail.internet.InternetAddress[] getFrom()- Specified by:
getFrom
in interfaceMailMessage
-
getTo
public jakarta.mail.internet.InternetAddress[] getTo() throws jakarta.mail.MessagingException- Specified by:
getTo
in interfaceMailMessage
- Throws:
jakarta.mail.MessagingException
-
getCC
public jakarta.mail.internet.InternetAddress[] getCC()- Specified by:
getCC
in interfaceMailMessage
-
getBcc
public jakarta.mail.internet.InternetAddress[] getBcc()- Specified by:
getBcc
in interfaceMailMessage
-
getReplyTo
public jakarta.mail.internet.InternetAddress[] getReplyTo()- Specified by:
getReplyTo
in interfaceMailMessage
-
unwrap
- Specified by:
unwrap
in interfaceMailMessage
-
setSender
public void setSender(@Nullable @Nullable jakarta.mail.Address sender) throws jakarta.mail.MessagingException - Specified by:
setSender
in interfaceMailMessage
- Throws:
jakarta.mail.MessagingException
-
setFrom
public void setFrom(jakarta.mail.Address from) - Specified by:
setFrom
in interfaceMailMessage
-
setReplyTo
public void setReplyTo(jakarta.mail.Address[] replyTo) - Specified by:
setReplyTo
in interfaceMailMessage
-
setTo
public void setTo(jakarta.mail.Address[] to) - Specified by:
setTo
in interfaceMailMessage
-
setCc
public void setCc(jakarta.mail.Address[] cc) - Specified by:
setCc
in interfaceMailMessage
-
setBcc
public void setBcc(jakarta.mail.Address[] bcc) - Specified by:
setBcc
in interfaceMailMessage
-
getHtmlParts
- Specified by:
getHtmlParts
in interfaceMailMessage
-