Closed
Description
sanbox urls have an ID number at the end of the host string eg: "https://sandbox.api.mailtrap.io/api/send/123456"
yet in the client, it constructs the host url with
url = f"{self.base_url}/api/send"
thus not allowing us to use sandbox urls with the library. This means that its really impossible to use the library across uat/production environments where we went to be trapping emails.
Can alterations be made so that the entire api_host can be specified without it appending /api/send? this will allow us to use the library for any environment.
Metadata
Metadata
Assignees
Labels
No labels