src/Viserio/Component/Mail/Transport/MandrillTransport.php
public function send(Swift_Mime_SimpleMessage $message, &$failedRecipients = null): int
    {
        $this->beforeSendPerformed($message);

        $data = [
            'key'         => $this->key,
            'to'          => $this->getToAddresses($message),
            'raw_message' => $message->toString(),
            'async'       => false,
        ];

        $options = ['form_params' => $data];

        $this->client->post('https://mandrillapp.com/api/1.0/messages/send-raw.json', $options);

        $this->sendPerformed($message);

        return $this->numberOfRecipients($message);
    }
public function send(Swift_Mime_SimpleMessage $message, &$failedRecipients = null): int
    {
        $this->beforeSendPerformed($message);

        $data = [
            'key'         => $this->key,
            'to'          => $this->getToAddresses($message),
            'raw_message' => $message->toString(),
            'async'       => false,
        ];

        $options = ['form_params' => $data];

        $this->client->post('https://mandrillapp.com/api/1.0/messages/send-raw.json', $options);

        $this->sendPerformed($message);

        return $this->numberOfRecipients($message);
    }
{@inheritdoc}