Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] excludeHtmlContent is not working #49

Open
antoine1003 opened this issue Dec 23, 2024 · 0 comments
Open

[BUG] excludeHtmlContent is not working #49

antoine1003 opened this issue Dec 23, 2024 · 0 comments

Comments

@antoine1003
Copy link

When I am using the EmailCampainApi, if I pass true the the excludeHtmlContent is does not exclude html.

private function getSentEmailCampaigns(): ?GetEmailCampaigns
    {
        $res = null;
        try {
            $res = $this->emailCampaignsApi->getEmailCampaigns(
                status: 'sent',
                excludeHtmlContent: true,
            );
        } catch (ApiException $e) {
            $this->logger->error($e->getMessage());
        }
        return $res;
    }

I debugged and I saw that the excludeHtmlContent=true property is translated to excludeHtmlContent=1 and that's what it's not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant