Serialized Form (JavaMail API documentation)
Date: 2019-08-31

# Serialized Form

- ## Package com.sun.mail.imap

  - ### Class com.sun.mail.imap.MessageVanishedEvent extends MessageCountEvent implements Serializable

    serialVersionUID:
      2142028010250024922L

    - ### Serialized Fields

      - #### uids

            long[] uids

  - ### Class com.sun.mail.imap.ModifiedSinceTerm extends SearchTerm implements Serializable

    - ### Serialized Fields

      - #### modseq

            long modseq

  - ### Class com.sun.mail.imap.OlderTerm extends SearchTerm implements Serializable

    serialVersionUID:
      3951078948727995682L

    - ### Serialized Fields

      - #### interval

            int interval

  - ### Class com.sun.mail.imap.YoungerTerm extends SearchTerm implements Serializable

    serialVersionUID:
      1592714210688163496L

    - ### Serialized Fields

      - #### interval

            int interval

- ## Package com.sun.mail.smtp

  - ### Class com.sun.mail.smtp.SMTPAddressFailedException extends SendFailedException implements Serializable

    serialVersionUID:
      804831199768630097L

    - ### Serialized Fields

      - #### addr

            InternetAddress addr

      - #### cmd

            java.lang.String cmd

      - #### rc

            int rc

  - ### Class com.sun.mail.smtp.SMTPAddressSucceededException extends MessagingException implements Serializable

    serialVersionUID:
      -1168335848623096749L

    - ### Serialized Fields

      - #### addr

            InternetAddress addr

      - #### cmd

            java.lang.String cmd

      - #### rc

            int rc

  - ### Class com.sun.mail.smtp.SMTPSenderFailedException extends SendFailedException implements Serializable

    serialVersionUID:
      514540454964476947L

    - ### Serialized Fields

      - #### addr

            InternetAddress addr

      - #### cmd

            java.lang.String cmd

      - #### rc

            int rc

  - ### Class com.sun.mail.smtp.SMTPSendFailedException extends SendFailedException implements Serializable

    serialVersionUID:
      8049122628728932894L

    - ### Serialized Fields

      - #### addr

            InternetAddress addr

      - #### cmd

            java.lang.String cmd

      - #### rc

            int rc

- ## Package com.sun.mail.util

  - ### Class com.sun.mail.util.DecodingException extends java.io.IOException implements Serializable

    serialVersionUID:
      -6913647794421459390L

  - ### Class com.sun.mail.util.FolderClosedIOException extends java.io.IOException implements Serializable

    serialVersionUID:
      4281122580365555735L

  - ### Class com.sun.mail.util.MailConnectException extends MessagingException implements Serializable

    serialVersionUID:
      -3818807731125317729L

    - ### Serialized Fields

      - #### host

            java.lang.String host

      - #### port

            int port

      - #### cto

            int cto

  - ### Class com.sun.mail.util.MessageRemovedIOException extends java.io.IOException implements Serializable

    serialVersionUID:
      4280468026581616424L

  - ### Class com.sun.mail.util.SocketConnectException extends java.io.IOException implements Serializable

    serialVersionUID:
      3997871560538755463L

    - ### Serialized Fields

      - #### host

            java.lang.String host

      - #### port

            int port

      - #### cto

            int cto

- ## Package javax.mail

  - ### Class javax.mail.Address extends java.lang.Object implements Serializable

    serialVersionUID:
      -5822459626751992278L

  - ### Class javax.mail.AuthenticationFailedException extends MessagingException implements Serializable

    serialVersionUID:
      492080754054436511L

  - ### Class javax.mail.Flags extends java.lang.Object implements Serializable

    serialVersionUID:
      6243590407214169028L

    - ### Serialized Fields

      - #### system_flags

            int system_flags

      - #### user_flags

            java.util.Hashtable<K,V> user_flags

  - ### Class javax.mail.FolderClosedException extends MessagingException implements Serializable

    serialVersionUID:
      1687879213433302315L

  - ### Class javax.mail.FolderNotFoundException extends MessagingException implements Serializable

    serialVersionUID:
      472612108891249403L

  - ### Class javax.mail.IllegalWriteException extends MessagingException implements Serializable

    serialVersionUID:
      3974370223328268013L

  - ### Class javax.mail.Message.RecipientType extends java.lang.Object implements Serializable

    serialVersionUID:
      -7479791750606340008L

    - ### Serialization Methods

      - #### readResolve

            protected java.lang.Object readResolve()
                                            throws java.io.ObjectStreamException

        When deserializing a RecipientType, we need to make sure to return only one of the known static final instances defined in this class. Subclasses must implement their own `readResolve` method that checks for their known instances before calling this super method.
        Throws:
          `java.io.ObjectStreamException`

    - ### Serialized Fields

      - #### type

            java.lang.String type

        The type of recipient, usually the name of a corresponding Internet standard header.

  - ### Class javax.mail.MessageRemovedException extends MessagingException implements Serializable

    serialVersionUID:
      1951292550679528690L

  - ### Class javax.mail.MessagingException extends java.lang.Exception implements Serializable

    serialVersionUID:
      -7569192289819959253L

    - ### Serialized Fields

      - #### next

            java.lang.Exception next

        The next exception in the chain.

  - ### Class javax.mail.MethodNotSupportedException extends MessagingException implements Serializable

    serialVersionUID:
      -3757386618726131322L

  - ### Class javax.mail.NoSuchProviderException extends MessagingException implements Serializable

    serialVersionUID:
      8058319293154708827L

  - ### Class javax.mail.ReadOnlyFolderException extends MessagingException implements Serializable

    serialVersionUID:
      5711829372799039325L

  - ### Class javax.mail.SendFailedException extends MessagingException implements Serializable

    serialVersionUID:
      -6457531621682372913L

  - ### Class javax.mail.StoreClosedException extends MessagingException implements Serializable

    serialVersionUID:
      -3145392336120082655L

- ## Package javax.mail.event

  - ### Class javax.mail.event.ConnectionEvent extends MailEvent implements Serializable

    serialVersionUID:
      -1855480171284792957L

    - ### Serialized Fields

      - #### type

            int type

        The event type.

  - ### Class javax.mail.event.FolderEvent extends MailEvent implements Serializable

    serialVersionUID:
      5278131310563694307L

    - ### Serialized Fields

      - #### type

            int type

        The event type.

  - ### Class javax.mail.event.MailEvent extends java.util.EventObject implements Serializable

    serialVersionUID:
      1846275636325456631L

  - ### Class javax.mail.event.MessageChangedEvent extends MailEvent implements Serializable

    serialVersionUID:
      -4974972972105535108L

    - ### Serialized Fields

      - #### type

            int type

        The event type.

  - ### Class javax.mail.event.MessageCountEvent extends MailEvent implements Serializable

    serialVersionUID:
      -7447022340837897369L

    - ### Serialized Fields

      - #### type

            int type

        The event type.

      - #### removed

            boolean removed

        If true, this event is the result of an explicit expunge by this client, and the messages in this folder have been renumbered to account for this. If false, this event is the result of an expunge by external sources.

  - ### Class javax.mail.event.StoreEvent extends MailEvent implements Serializable

    serialVersionUID:
      1938704919992515330L

    - ### Serialized Fields

      - #### type

            int type

        The event type.

      - #### message

            java.lang.String message

        The message text to be presented to the user.

  - ### Class javax.mail.event.TransportEvent extends MailEvent implements Serializable

    serialVersionUID:
      -4729852364684273073L

    - ### Serialized Fields

      - #### type

            int type

        The event type.

- ## Package javax.mail.internet

  - ### Class javax.mail.internet.AddressException extends ParseException implements Serializable

    serialVersionUID:
      9134583443539323120L

    - ### Serialized Fields

      - #### ref

            java.lang.String ref

        The string being parsed.

      - #### pos

            int pos

        The index in the string where the error occurred, or -1 if not known.

  - ### Class javax.mail.internet.InternetAddress extends Address implements Serializable

    serialVersionUID:
      -7507595530758302903L

    - ### Serialized Fields

      - #### address

            java.lang.String address

      - #### personal

            java.lang.String personal

        The personal name.

      - #### encodedPersonal

            java.lang.String encodedPersonal

        The RFC 2047 encoded version of the personal name.

        This field and the `personal` field track each other, so if a subclass sets one of these fields directly, it should set the other to `null`, so that it is suitably recomputed.

  - ### Class javax.mail.internet.MailDateFormat extends java.text.SimpleDateFormat implements Serializable

    serialVersionUID:
      -8148227605210628779L

  - ### Class javax.mail.internet.MimeMessage.RecipientType extends Message.RecipientType implements Serializable

    serialVersionUID:
      -5468290701714395543L

    - ### Serialization Methods

      - #### readResolve

            protected java.lang.Object readResolve()
                                            throws java.io.ObjectStreamException

        Throws:
          `java.io.ObjectStreamException`

  - ### Class javax.mail.internet.NewsAddress extends Address implements Serializable

    serialVersionUID:
      -4203797299824684143L

    - ### Serialized Fields

      - #### newsgroup

            java.lang.String newsgroup

      - #### host

            java.lang.String host

  - ### Class javax.mail.internet.ParseException extends MessagingException implements Serializable

    serialVersionUID:
      7649991205183658089L

- ## Package javax.mail.search

  - ### Class javax.mail.search.AddressStringTerm extends StringTerm implements Serializable

    serialVersionUID:
      3086821234204980368L

  - ### Class javax.mail.search.AddressTerm extends SearchTerm implements Serializable

    serialVersionUID:
      2005405551929769980L

    - ### Serialized Fields

      - #### address

            Address address

        The address.

  - ### Class javax.mail.search.AndTerm extends SearchTerm implements Serializable

    serialVersionUID:
      -3583274505380989582L

    - ### Serialized Fields

      - #### terms

            SearchTerm[] terms

        The array of terms on which the AND operator should be applied.

  - ### Class javax.mail.search.BodyTerm extends StringTerm implements Serializable

    serialVersionUID:
      -4888862527916911385L

  - ### Class javax.mail.search.ComparisonTerm extends SearchTerm implements Serializable

    serialVersionUID:
      1456646953666474308L

    - ### Serialized Fields

      - #### comparison

            int comparison

        The comparison.

  - ### Class javax.mail.search.DateTerm extends ComparisonTerm implements Serializable

    serialVersionUID:
      4818873430063720043L

    - ### Serialized Fields

      - #### date

            java.util.Date date

        The date.

  - ### Class javax.mail.search.FlagTerm extends SearchTerm implements Serializable

    serialVersionUID:
      -142991500302030647L

    - ### Serialized Fields

      - #### set

            boolean set

        Indicates whether to test for the presence or absence of the specified Flag. If `true`, then test whether all the specified flags are present, else test whether all the specified flags are absent.

      - #### flags

            Flags flags

        Flags object containing the flags to test.

  - ### Class javax.mail.search.FromStringTerm extends AddressStringTerm implements Serializable

    serialVersionUID:
      5801127523826772788L

  - ### Class javax.mail.search.FromTerm extends AddressTerm implements Serializable

    serialVersionUID:
      5214730291502658665L

  - ### Class javax.mail.search.HeaderTerm extends StringTerm implements Serializable

    serialVersionUID:
      8342514650333389122L

    - ### Serialized Fields

      - #### headerName

            java.lang.String headerName

        The name of the header.

  - ### Class javax.mail.search.IntegerComparisonTerm extends ComparisonTerm implements Serializable

    serialVersionUID:
      -6963571240154302484L

    - ### Serialized Fields

      - #### number

            int number

        The number.

  - ### Class javax.mail.search.MessageIDTerm extends StringTerm implements Serializable

    serialVersionUID:
      -2121096296454691963L

  - ### Class javax.mail.search.MessageNumberTerm extends IntegerComparisonTerm implements Serializable

    serialVersionUID:
      -5379625829658623812L

  - ### Class javax.mail.search.NotTerm extends SearchTerm implements Serializable

    serialVersionUID:
      7152293214217310216L

    - ### Serialized Fields

      - #### term

            SearchTerm term

        The search term to negate.

  - ### Class javax.mail.search.OrTerm extends SearchTerm implements Serializable

    serialVersionUID:
      5380534067523646936L

    - ### Serialized Fields

      - #### terms

            SearchTerm[] terms

        The array of terms on which the OR operator should be applied.

  - ### Class javax.mail.search.ReceivedDateTerm extends DateTerm implements Serializable

    serialVersionUID:
      -2756695246195503170L

  - ### Class javax.mail.search.RecipientStringTerm extends AddressStringTerm implements Serializable

    serialVersionUID:
      -8293562089611618849L

    - ### Serialized Fields

      - #### type

            Message.RecipientType type

        The recipient type.

  - ### Class javax.mail.search.RecipientTerm extends AddressTerm implements Serializable

    serialVersionUID:
      6548700653122680468L

    - ### Serialized Fields

      - #### type

            Message.RecipientType type

        The recipient type.

  - ### Class javax.mail.search.SearchException extends MessagingException implements Serializable

    serialVersionUID:
      -7092886778226268686L

  - ### Class javax.mail.search.SearchTerm extends java.lang.Object implements Serializable

    serialVersionUID:
      -6652358452205992789L

  - ### Class javax.mail.search.SentDateTerm extends DateTerm implements Serializable

    serialVersionUID:
      5647755030530907263L

  - ### Class javax.mail.search.SizeTerm extends IntegerComparisonTerm implements Serializable

    serialVersionUID:
      -2556219451005103709L

  - ### Class javax.mail.search.StringTerm extends SearchTerm implements Serializable

    serialVersionUID:
      1274042129007696269L

    - ### Serialized Fields

      - #### pattern

            java.lang.String pattern

        The pattern.

      - #### ignoreCase

            boolean ignoreCase

        Ignore case when comparing?

  - ### Class javax.mail.search.SubjectTerm extends StringTerm implements Serializable

    serialVersionUID:
      7481568618055573432L

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms< /a>.