src/XQueue/Maileon/API/Contacts/ContactsService.php
function getContactByEmail($email, $standard_fields = array(), $custom_fields = array())
    {
        $queryParameters = array(
            'standard_field' => $standard_fields
        );

        $queryParameters = $this->appendArrayFields($queryParameters, 'custom_field', $custom_fields);

        return $this->get('contacts/email/' . utf8_encode($email), $queryParameters);
    }
function getContactByEmail($email, $standard_fields = array(), $custom_fields = array())
    {
        $queryParameters = array(
            'standard_field' => $standard_fields
        );

        $queryParameters = $this->appendArrayFields($queryParameters, 'custom_field', $custom_fields);

        return $this->get('contacts/email/' . utf8_encode($email), $queryParameters);
    }
Returns a contact with the provided email address.

@param string $email
the email address to retrieve a contact for
@param string[] $standard_fields
the standard fields to return with the contact
@param string[] $custom_fields
the custom fields to return with the contact
@return \em com_maileon_api_MaileonAPIResult
the result object of the API call, with a com_maileon_api_contacts_Contact
available at com_maileon_api_MaileonAPIResult::getResult()
@throws com_maileon_api_MaileonAPIException
if there was a connection problem or a server error occurred