diff --git a/lib/Api/Emails.php b/lib/Api/Emails.php index 35b939cd..db0607e8 100644 --- a/lib/Api/Emails.php +++ b/lib/Api/Emails.php @@ -71,9 +71,9 @@ public function send($id) * * @return array|mixed */ - public function sendToContact($id, $contactId) + public function sendToContact($id, $contactId, $parameters = array()) { - return $this->makeRequest($this->endpoint.'/'.$id.'/contact/'.$contactId.'/send', array(), 'POST'); + return $this->makeRequest($this->endpoint.'/'.$id.'/contact/'.$contactId.'/send', $parameters, 'POST'); } /**