Uses of Class
javax.mail.Message.RecipientType
-
Packages that use Message.RecipientType Package Description javax.mail Classes modelling a mail system.javax.mail.internet Classes modelling Internet mail systems.javax.mail.search Search expressions for executing searches on the messages in a folder. -
-
Uses of Message.RecipientType in javax.mail
Fields in javax.mail declared as Message.RecipientType Modifier and Type Field Description static Message.RecipientType
Message.RecipientType. BCC
"Blind" carbon-copy recipients.static Message.RecipientType
Message.RecipientType. CC
Carbon-copy recipients.static Message.RecipientType
Message.RecipientType. TO
Primary recipients.Methods in javax.mail with parameters of type Message.RecipientType Modifier and Type Method Description void
Message. addRecipient(Message.RecipientType type, Address address)
Adds the recipient address of the given type.abstract void
Message. addRecipients(Message.RecipientType type, Address[] addresses)
Adds the recipient addresses of the given type.abstract Address[]
Message. getRecipients(Message.RecipientType type)
Returns all the recipient addresses of the specified type.void
Message. setRecipient(Message.RecipientType type, Address address)
Sets the recipient address of the specified type.abstract void
Message. setRecipients(Message.RecipientType type, Address[] addresses)
Sets the recipient addresses of the specified type. -
Uses of Message.RecipientType in javax.mail.internet
Subclasses of Message.RecipientType in javax.mail.internet Modifier and Type Class Description static class
MimeMessage.RecipientType
Additional recipient types specific to internet messages.Methods in javax.mail.internet with parameters of type Message.RecipientType Modifier and Type Method Description void
MimeMessage. addRecipients(Message.RecipientType type, java.lang.String addresses)
Adds the given addresses to the recipients of the specified type.void
MimeMessage. addRecipients(Message.RecipientType type, Address[] addresses)
Adds the given addresses to the recipients of the specified type.Address[]
MimeMessage. getRecipients(Message.RecipientType type)
Returns the recipients of the given type.void
MimeMessage. setRecipients(Message.RecipientType type, java.lang.String addresses)
Sets the recipients of the given type.void
MimeMessage. setRecipients(Message.RecipientType type, Address[] addresses)
Sets the recipients of the given type. -
Uses of Message.RecipientType in javax.mail.search
Fields in javax.mail.search declared as Message.RecipientType Modifier and Type Field Description protected Message.RecipientType
RecipientTerm. type
The recipient type.Methods in javax.mail.search that return Message.RecipientType Modifier and Type Method Description Message.RecipientType
RecipientStringTerm. getRecipientType()
Return the recipient type.Message.RecipientType
RecipientTerm. getRecipientType()
Returns the recipient type.Constructors in javax.mail.search with parameters of type Message.RecipientType Constructor Description RecipientStringTerm(Message.RecipientType type, java.lang.String pattern)
Constructor.RecipientTerm(Message.RecipientType type, Address address)
Constructor.
-