Skip to main content

SendTestEmailResult

Result of an operator test send.

type SendTestEmailResult {
sent: Boolean!
messageId: String
simulated: Boolean!
refusedReason: String
}

Fields

SendTestEmailResult.sent ● Boolean! non-null scalar

Whether the send was attempted AND accepted. False means refused (suppressed domain, or a prior permanent bounce) or that SES rejected it.

SendTestEmailResult.messageId ● String scalar

The SES message id when a message was actually handed to SES. Null when sending is disabled on this instance, which is reported as sent=true by the same rule the product flows use, so READ THIS FIELD to tell a real send from a simulated one.

SendTestEmailResult.simulated ● Boolean! non-null scalar

True when SEND_EMAILS is off and the message was logged rather than sent. sent=true with simulated=true means nothing left the building.

SendTestEmailResult.refusedReason ● String scalar

Why a send was refused, when it was.

Returned By

sendTestEmail mutation