'EmailClient' object has no attribute 'get_sent_status'
See original GitHub issue- Package Name: azure.communication.email
- Package Version: 1.0.0b1
- Operating System: Ubuntu 20.04
- Python Version: 3.8.10
Describe the bug When attempting to get the email sent status, leverage example code, the repeated error is raised saying “AttributeError: ‘EmailClient’ object has no attribute ‘get_sent_status’.”
To Reproduce Steps to reproduce the behavior:
- Issue code as given in examples:
response = email_client.send(message)
status = email_client.get_sent_status(response.message_id)
Expected behavior A sent status given with no error thrown.
Screenshots
Additional context
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
'Client' object has no attribute 'send_message' (Discord Bot ...
Client object does not a have a send_message method. To fix your problem you can just have it as: async def test(author, message): ......
Read more >AttributeError: 'Client' object has no attribute 'status' #3995
I have been trying to run a grid on my code but keep getting the following error: Traceback (most recent call last): File ......
Read more >Type object "Client " has no attribute "get-postgresql
If im guessing right you are probably trying to authenticate user. First name your variables appropriately: email = request.params.get('email') password ...
Read more >class SES. Client - Boto3 Docs 1.26.32 documentation
A low-level client representing Amazon Simple Email Service (SES) ... An object that contains the topic ARN associated with an Amazon Simple Notification ......
Read more >Email events - Amazon Pinpoint - AWS Documentation
For events that are created when you send a message from a campaign or journey, this object contains attributes that are associated with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I see that example code from your link. However, your documentation is incorrect, both on the Microsoft’s website and PyPi:
https://learn.microsoft.com/en-us/python/api/overview/azure/communication-email-readme?view=azure-python-preview#get-email-message-status
https://pypi.org/project/azure-communication-email/
@turalf Can you take a look?