How to check on SwiftMail if "spool" is enabled?

Viewed 55

how I can check if spool is enabled via configuration?

In Swift_Mailer, I have a transport object and spool - but of course is private, in config:

swiftmailer:
    url: '%env(MAILER_URL)%'
    spool: { type: 'memory' }

spool - is not readable for other classes.

I need that info to report the sending user that their message has not been sent, but it has been spooled.

0 Answers
Related