Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bypassing the spool #5

Open
sonjadeissenboeck opened this issue Nov 14, 2017 · 0 comments
Open

Bypassing the spool #5

sonjadeissenboeck opened this issue Nov 14, 2017 · 0 comments

Comments

@sonjadeissenboeck
Copy link

Has anyone ever added a bypass for the spooling?
So far I got this:
if($bypassSpool) {
$spool = $this->mailer->getTransport()->getSpool();
$transport = \Swift_MailTransport::newInstance();
$spool->flushQueue($transport);
}

but it isn't picking up the flushQueue() function from the swiftmailer-bundle. I don't know how to access that? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant