Skip to content

ElasticEmailClient.py must be updated #3

Open
@suleymancan

Description

@suleymancan

When a post request is made using the current ElasticEmailClient.py file, it sends data as the url parameter. In the link given in the "Python Api Integration Library" article, the data is sent with the data parameter in the ElasticEmailClient.py file.
(Article: https://elasticemail.com/api-documentation/integration-libraries/introduction-to-our-python-api-integration-library)
(ElasticEmailClient.py link: http://api.elasticemail.com/public/client/python)
ElasticEmailClient
(photo: Comparison of ElasticEmailClient.py file in Github and Article)

I've tried to send email using the bodyHtml parameter. While sending the mail using ElasticEmailClient.py file in Github, i got this error:
ElasticEmailClientError

By debugging, The result field in the Request method in the ApiClient class in the ElasticEmailClient.py file.
ElasticEmailClientResult

The problem is that it sends the data as a url parameter. The file in the article has resolved the problem. The file ElasticEmailClient.py, which is given as a link in the article, must also be added here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions