new EMailer(optsopt)
This class represents a JMAP EMailer.
An EMailer object holds the name and email address of either a sender or a recipient of a Message.
Parameters:
Name | Type | Attributes | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object |
<optional> |
The optional properties of this EMailer. Properties
|
- Source:
Methods
(static) fromJSONObject(jmap, object) → {EMailer}
Creates a EMailer from its JSON representation.
Parameters:
Name | Type | Description |
---|---|---|
jmap |
Client | The Client instance that originates the EMailer instance. Is actually ignored. |
object |
Object | The JSON representation of the EMailer, as a Javascript object |
- Source:
Returns:
- Type
- EMailer
(static) unknown() → {EMailer}
This method returns the unknown EMailer, that is, an EMailer instance with all fields set to defaults.
- Source:
Returns:
The unknown EMailer.
- Type
- EMailer