We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug The response of the method mailer.send(mail_body) is a string that doesn't allow to check the response code.
mailer.send(mail_body)
To Reproduce Steps to reproduce the behavior:
Expected behavior I expect the mailer.send(mail_body) method to return a proper HTTP response or raise an Exception in case of error
Given the current implementation of the method send, please just return the response instead of a str, today implementation:
send
return f"{request.status_code}\n{request.text}"
Environment (please complete the following information):
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
The response of the method
mailer.send(mail_body)
is a string that doesn't allow to check the response code.To Reproduce
Steps to reproduce the behavior:
mailer.send(mail_body)
Expected behavior
I expect the
mailer.send(mail_body)
method to return a proper HTTP response or raise an Exception in case of errorGiven the current implementation of the method
send
, please just return the response instead of a str, today implementation:Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: