protected function queryTransport()
	{
		if ( $this->mailer && method_exists( $this->mailer, 'isPretending' ) && $this->mailer->isPretending() )
		{
			return null;
		}

		$transport = $this->getSwiftMailerTransport();

		if ( !$transport || !is_a( $transport, '\Swift_Transport_AbstractSmtpTransport' ) )
		{
			return null;
		}

		return $transport;
	}