Package javax.mail

Class Message.RecipientType

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    MimeMessage.RecipientType
    Enclosing class:
    Message

    public static class Message.RecipientType
    extends java.lang.Object
    implements java.io.Serializable
    The types of recipients to which a message can be sent. The types defined here are TO, CC and BCC. Other types may be defined by subclasses.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected RecipientType​(java.lang.String type)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object readResolve()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • BCC

        public static final Message.RecipientType BCC
        "Blind" carbon-copy recipients. This type of recipient is hidden from other recipients of the message.
      • type

        protected java.lang.String type
        The type of recipient.
    • Constructor Detail

      • RecipientType

        protected RecipientType​(java.lang.String type)
    • Method Detail

      • readResolve

        protected java.lang.Object readResolve()
                                        throws java.io.ObjectStreamException
        Throws:
        java.io.ObjectStreamException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object