public function setOptions(array $options)
{
$this->options = array_merge($this->options, $options);
// Turn off the spool as we're only sending one message, and we don't
// want to flush via the event listener as that fires on
// KernelEvents::TERMINATE and we are unable to trap the error.
$this->app['swiftmailer.use_spool'] = false;
return $this;
}