EmailSender - Losing emails that are being send immediately

Development Support asked on August 20, 2018 18:19

Hello, I believe I am occasionlly losing emails being send immediately via EmailSender but not seeing anything in the event log or email queue. The code is calling "SendEmailWithTemplateText" with the sendImmediately parameter set to "true". Is it correct to assume that the email skips the Email Queue in this case? If the queue is skipped and if the email fails to send, does EmailSender fail silently or would I see an entry in the event log?

Thanks! Troy

Correct Answer

Brenden Kehren answered on August 20, 2018 18:24

Those emails bypass the queue altogether and are not logged to the "sent" queue either. If it fails, the API should log an event log. I'd suggest using the queue if you want to be able to track the sending of those emails though and allow the queue to process.

1 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.