Uses of Class
jakarta.mail.Message.RecipientType
Package
Description
The Jakarta Mail API
provides classes that model a mail system.
Classes specific to Internet mail systems.
Message search terms for the Jakarta Mail API.
An IMAP protocol provider for the Jakarta Mail API
that provides access to an IMAP message store.
-
Uses of Message.RecipientType in jakarta.mail
Modifier and TypeFieldDescriptionstatic final Message.RecipientType
Message.RecipientType.BCC
The "Bcc" (blind carbon copy) recipients.static final Message.RecipientType
Message.RecipientType.CC
The "Cc" (carbon copy) recipients.static final Message.RecipientType
Message.RecipientType.TO
The "To" (primary) recipients.Modifier and TypeMethodDescriptionvoid
Message.addRecipient
(Message.RecipientType type, Address address) Add this recipient address to the existing ones of the given type.abstract void
Message.addRecipients
(Message.RecipientType type, Address[] addresses) Add these recipient addresses to the existing ones of the given type.abstract Address[]
Message.getRecipients
(Message.RecipientType type) Get all the recipient addresses of the given type.void
Message.setRecipient
(Message.RecipientType type, Address address) Set the recipient address.abstract void
Message.setRecipients
(Message.RecipientType type, Address[] addresses) Set the recipient addresses. -
Uses of Message.RecipientType in jakarta.mail.internet
Modifier and TypeClassDescriptionstatic class
This inner class extends the jakarta.mail.Message.RecipientType class to add additional RecipientTypes.Modifier and TypeMethodDescriptionvoid
MimeMessage.addRecipients
(Message.RecipientType type, Address[] addresses) Add the given addresses to the specified recipient type.void
MimeMessage.addRecipients
(Message.RecipientType type, String addresses) Add the given addresses to the specified recipient type.Address[]
MimeMessage.getRecipients
(Message.RecipientType type) Returns the recepients specified by the type.void
MimeMessage.setRecipients
(Message.RecipientType type, Address[] addresses) Set the specified recipient type to the given addresses.void
MimeMessage.setRecipients
(Message.RecipientType type, String addresses) Set the specified recipient type to the given addresses. -
Uses of Message.RecipientType in jakarta.mail.search
Modifier and TypeMethodDescriptionRecipientStringTerm.getRecipientType()
Return the type of recipient to match with.RecipientTerm.getRecipientType()
Return the type of recipient to match with.ModifierConstructorDescriptionRecipientStringTerm
(Message.RecipientType type, String pattern) Constructor.RecipientTerm
(Message.RecipientType type, Address address) Constructor. -
Uses of Message.RecipientType in org.eclipse.angus.mail.imap
Modifier and TypeMethodDescriptionvoid
IMAPMessage.addRecipients
(Message.RecipientType type, Address[] addresses) Address[]
IMAPMessage.getRecipients
(Message.RecipientType type) Get the desired Recipient type.void
IMAPMessage.setRecipients
(Message.RecipientType type, Address[] addresses)