Model/Apiconnector/Client.php
public function getCustomFromAddresses()
    {
        $url = $this->getApiEndpoint() . self::REST_CAMPAIGN_FROM_ADDRESS_LIST;
        $this->setUrl($url)
            ->setVerb('GET');

        $response = $this->execute();

        if (isset($response->message)) {
            $message = 'GET CampaignFromAddressList ' . $response->message
                . ' api user : ' . $this->getApiUsername();
            $this->helper->debug('getCustomFromAddresses', [$message]);
        }

        return $response;
    }
public function getCustomFromAddresses()
    {
        $url = $this->getApiEndpoint() . self::REST_CAMPAIGN_FROM_ADDRESS_LIST;
        $this->setUrl($url)
            ->setVerb('GET');

        $response = $this->execute();

        if (isset($response->message)) {
            $message = 'GET CampaignFromAddressList ' . $response->message
                . ' api user : ' . $this->getApiUsername();
            $this->helper->debug('getCustomFromAddresses', [$message]);
        }

        return $response;
    }
public function getCustomFromAddresses ( ) { $ url = $ this -> getApiEndpoint ( ) . self :: REST_CAMPAIGN_FROM_ADDRESS_LIST ; $ this -> setUrl ( $ url ) -> setVerb ( 'GET' ) ; $ response = $ this -> execute ( ) ; if ( isset ( $ response -> message ) ) { $ message = 'GET CampaignFromAddressList ' . $ response -> message . ' api user : ' . $ this -> getApiUsername ( ) ; $ this -> helper -> debug ( 'getCustomFromAddresses' , [ $ message ] ) ; } return $ response ; }
Gets all custom from addresses which can be used in a campaign.

@return object

@throws \Exception
Gets all custom from addresses which can be used in a campaign .