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

ElasticEmailClient.py must be updated #3

Open
suleymancan opened this issue Nov 6, 2019 · 0 comments
Open

ElasticEmailClient.py must be updated #3

suleymancan opened this issue Nov 6, 2019 · 0 comments

Comments

@suleymancan
Copy link

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.

@suleymancan suleymancan changed the title ElasticEmailClient.py must be updated to API version 2.42.0 ElasticEmailClient.py must be updated Nov 6, 2019
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