queueHtmlEmailCommunication
Queues an email communication that uses an HTML document for content and targets one or more contacts.
Throws an error with code:
BAD_USER_INPUTif the input'scontactIdsfield is an empty list.BAD_USER_INPUTif the input'sdelayedDeliveryDatefield is specified and its value represents a date in the past.BAD_USER_INPUTif the input'semailSenderNamefield is empty.BAD_USER_INPUTif the input'semailSubjectfield is empty.BAD_USER_INPUTif the input'shtmlfield is empty.NOT_FOUNDif an event matching the input'seventIdfield cannot be found.NOT_FOUNDif contacts matching the input'scontactIdsfield cannot be found within the event specified by theeventIdinput field.NOT_FOUNDif a communication tag code matching the input'scommunicationTagCodefield cannot be found within the event specified byNOT_FOUNDif a brand matching the input'sbrandIdfield cannot be found within the event specified by theeventIdinput field.
queueHtmlEmailCommunication(
  input: QueueHtmlEmailCommunicationInput!
): QueueHtmlEmailCommunicationPayload!
Arguments
queueHtmlEmailCommunication.input ● QueueHtmlEmailCommunicationInput! non-null input
Type
QueueHtmlEmailCommunicationPayload object
The payload object returned when queuing an email communication whose content is an HTML document.