Skip to main content

SendEmailInput

Input for sendEmail.

input SendEmailInput {
documentType: TemplateModule!
id: ID!
deliveryMethod: DeliveryMethod!
to: [EmailRecipient!]!
cc: [EmailRecipient!]
bcc: [EmailRecipient!]
subject: String!
content: String!
printout: SendEmailPrintoutInput
fileUuids: [String!]
}

Fields​

SendEmailInput.documentType ● TemplateModule! non-null enum​

The type of record the email is about.

SendEmailInput.id ● ID! non-null scalar​

The ID of the record.

SendEmailInput.deliveryMethod ● DeliveryMethod! non-null enum​

Send through the sender's connected Exchange mailbox or the tenant's SMTP server.

SendEmailInput.to ● [EmailRecipient!]! non-null input​

The primary recipients.

SendEmailInput.cc ● [EmailRecipient!] list input​

The carbon copy recipients.

SendEmailInput.bcc ● [EmailRecipient!] list input​

The blind carbon copy recipients. Through Exchange, each one is sent a message of their own in the background.

SendEmailInput.subject ● String! non-null scalar​

The subject of the email.

SendEmailInput.content ● String! non-null scalar​

The content of the email.

SendEmailInput.printout ● SendEmailPrintoutInput input​

Attach a printout of the record. Leave out to send without one.

SendEmailInput.fileUuids ● [String!] list scalar​

UUIDs of files already attached to this record. Every file must belong to this record and be viewable by you. All attachments together, the printout included, may total at most 15 MB (the default limit).

Member Of​

sendEmail mutation