TEAMPT's avatar

How Do I test if an email was queued and sent?

How can I test if my mailable was successfully queued and sent in PHPUNIT?

0 likes
1 reply
martinbean's avatar

@teamphysiotec You can’t really test both. You either want to test your email was queued (to be sent at a later date by a separate process), or sent synchronously.

Please or to participate in this conversation.