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_INPUT
if the input'scontactIds
field is an empty list.BAD_USER_INPUT
if the input'sdelayedDeliveryDate
field is specified and its value represents a date in the past.BAD_USER_INPUT
if the input'semailSenderName
field is empty.BAD_USER_INPUT
if the input'semailSubject
field is empty.BAD_USER_INPUT
if the input'shtml
field is empty.NOT_FOUND
if an event matching the input'seventId
field cannot be found.NOT_FOUND
if contacts matching the input'scontactIds
field cannot be found within the event specified by theeventId
input field.NOT_FOUND
if a communication tag code matching the input'scommunicationTagCode
field cannot be found within the event specified byNOT_FOUND
if a brand matching the input'sbrandId
field cannot be found within the event specified by theeventId
input 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.