Email
A collection of information to be used to initiate an email with a Contact or ContactList
Type
fdc3.email
Schema
https://fdc3.finos.org/schemas/2.1/context/email.schema.json https://fdc3.finos.org/schemas/2.1/context/email.schema.json
Details
Property | Type | Required | Example Value |
---|---|---|---|
type | string | Yes | 'fdc3.email' |
recipients | fdc3.contact or fdc3.contactList | Yes | { type: "fdc3.contact", name: "John Doe", id: { "email": "john@sample.com" } } |
subject | string | No | 'The information you requested' |
textBody | string | No | 'Blah, blah, bah |
Example
const email = {
type: 'fdc3.email',
recipients: {
type: 'fdc3.contact',
name: 'Jane Doe',
id: {
email: 'jane.doe@example.com'
}
},
subject: 'The information you requested',
textBody: 'Blah, blah, blah ...'
}
fdc3.raiseIntent("StartEmail", email)
See Also
Other Types
Intents