Closed Stranger6667 closed 7 years ago
In case if some messages were bounced, and were not sent backend anyway will return total number of messages, that were passed to send_messages.
send_messages
The problem is, that postmark will not rise any exceptions if batch send will be used. Thus, I see the following options:
emails.send
emails.send_batch
And any way count only successfully sent messages.
In case if some messages were bounced, and were not sent backend anyway will return total number of messages, that were passed to
send_messages
.The problem is, that postmark will not rise any exceptions if batch send will be used. Thus, I see the following options:
emails.send
if email_messages contains only single email andemails.send_batch
otherwiseAnd any way count only successfully sent messages.