This is somewhat like an enumeration (but it is NOT an enumeration.)
The possible values are BODY, HEADER, UNBOUND, and ATTACHMENT. BODY, HEADER, and UNBOUND has a singleton semantics, but there are multiple ATTACHMENT instances as it carries additional MIME type parameter.
So don't use '==' for testing the equality.
This is somewhat like an enumeration (but it is NOT an enumeration.)
The possible values are BODY, HEADER, UNBOUND, and ATTACHMENT. BODY, HEADER, and UNBOUND has a singleton semantics, but there are multiple ATTACHMENT instances as it carries additional MIME type parameter.
So don't use '==' for testing the equality.
|
|