diff --git a/lib/BaseSendGridClientInterface.php b/lib/BaseSendGridClientInterface.php index 91d244a2..636a1542 100644 --- a/lib/BaseSendGridClientInterface.php +++ b/lib/BaseSendGridClientInterface.php @@ -55,11 +55,13 @@ public function __construct($auth, $host, $options = array()) * Make an API request. * * @param Mail $email A Mail object, containing the request object + * @param array|null $query A query, containing additional settings, + * e.g., css_inline * * @return Response */ - public function send(Mail $email) + public function send(Mail $email, array $query = null) { - return $this->client->mail()->send()->post($email); + return $this->client->mail()->send()->post($email, $query); } }