src/Mailtrap.php
protected function getEmailRecipients($email)
  {
    $recipients = $email->Headers->to . ' ' .
                  $email->Headers->cc;
    if($email->Headers->bcc != NULL)
    {
      $recipients .= ' ' . $email->Headers->bcc;  
    }

    return $recipients;
  }
protected function getEmailRecipients($email)
  {
    $recipients = $email->Headers->to . ' ' .
                  $email->Headers->cc;
    if($email->Headers->bcc != NULL)
    {
      $recipients .= ' ' . $email->Headers->bcc;  
    }

    return $recipients;
  }
Get Email Recipients

Returns the string containing all of the recipients, such as To, CC and if provided BCC

@param mixed $email Email
@return string Recipients