public function Export($statuses, $fileFormat = \ElasticEmailEnums\ExportFileFormats::Csv, $from = null, $to = null, $channelName = null, $includeEmail = true, $includeSms = true, array $messageCategory = array(), $compressionFormat = \ElasticEmailEnums\CompressionFormat::None, $fileName = null, $email = null) {
        return $this->sendRequest('log/export', array(
                    'statuses' => (count($statuses) === 0) ? null : join(';', $statuses),
                    'fileFormat' => $fileFormat,
                    'from' => $from,
                    'to' => $to,
                    'channelName' => $channelName,
                    'includeEmail' => $includeEmail,
                    'includeSms' => $includeSms,
                    'messageCategory' => (count($messageCategory) === 0) ? null : join(';', $messageCategory),
                    'compressionFormat' => $compressionFormat,
                    'fileName' => $fileName,
                    'email' => $email
        ));
    }
public function Export($statuses, $fileFormat = \ElasticEmailEnums\ExportFileFormats::Csv, $from = null, $to = null, $channelName = null, $includeEmail = true, $includeSms = true, array $messageCategory = array(), $compressionFormat = \ElasticEmailEnums\CompressionFormat::None, $fileName = null, $email = null) {
        return $this->sendRequest('log/export', array(
                    'statuses' => (count($statuses) === 0) ? null : join(';', $statuses),
                    'fileFormat' => $fileFormat,
                    'from' => $from,
                    'to' => $to,
                    'channelName' => $channelName,
                    'includeEmail' => $includeEmail,
                    'includeSms' => $includeSms,
                    'messageCategory' => (count($messageCategory) === 0) ? null : join(';', $messageCategory),
                    'compressionFormat' => $compressionFormat,
                    'fileName' => $fileName,
                    'email' => $email
        ));
    }
public function Export ( $ statuses , $ fileFormat = \ ElasticEmailEnums \ ExportFileFormats :: Csv , $ from = null , $ to = null , $ channelName = null , $ includeEmail = true , $ includeSms = true , array $ messageCategory = array ( ) , $ compressionFormat = \ ElasticEmailEnums \ CompressionFormat :: None , $ fileName = null , $ email = null ) { return $ this -> sendRequest ( 'log/export' , array ( 'statuses' => ( count ( $ statuses ) === 0 ) ? null : join ( ';' , $ statuses ) , 'fileFormat' => $ fileFormat , 'from' => $ from , 'to' => $ to , 'channelName' => $ channelName , 'includeEmail' => $ includeEmail , 'includeSms' => $ includeSms , 'messageCategory' => ( count ( $ messageCategory ) === 0 ) ? null : join ( ';' , $ messageCategory ) , 'compressionFormat' => $ compressionFormat , 'fileName' => $ fileName , 'email' => $ email ) ) ; }
Export email log information to the specified file format.
@param string $apikey ApiKey that gives you access to our SMTP and HTTP API's.
@param array<\ElasticEmailEnums\LogJobStatus> $statuses List of comma separated message statuses: 0 for all, 1 for ReadyToSend, 2 for InProgress, 4 for Bounced, 5 for Sent, 6 for Opened, 7 for Clicked, 8 for Unsubscribed, 9 for Abuse Report
@param \ElasticEmailEnums\ExportFileFormats $fileFormat Format of the exported file
@param ?DateTime $from Start date.
@param ?DateTime $to End date.
@param string $channelName Name of selected channel.
@param bool $includeEmail True: Search includes emails. Otherwise, false.
@param bool $includeSms True: Search includes SMS. Otherwise, false.
@param array<\ElasticEmailEnums\MessageCategory> $messageCategory ID of message category
@param \ElasticEmailEnums\CompressionFormat $compressionFormat FileResponse compression format. None or Zip.
@param string $fileName Name of your file.
@param string $email Proper email address.
@return \ElasticEmailEnums\ExportLink
Export email log information to the specified file format .