Skip to content

Commit

Permalink
Mailtrap backend: remove bulk_api_url
Browse files Browse the repository at this point in the history
  • Loading branch information
cahna committed Nov 24, 2024
1 parent f5c6302 commit 7f253b4
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions anymail/backends/mailtrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,16 +191,6 @@ def __init__(self, **kwargs):
test_api_url += "/"
self.test_api_url = test_api_url

bulk_api_url = get_anymail_setting(
"bulk_api_url",
esp_name=self.esp_name,
kwargs=kwargs,
default="https://bulk.api.mailtrap.io/api/",
)
if not bulk_api_url.endswith("/"):
bulk_api_url += "/"
self.bulk_api_url = bulk_api_url

self.testing_enabled = get_anymail_setting(
"testing",
esp_name=self.esp_name,
Expand All @@ -216,7 +206,6 @@ def __init__(self, **kwargs):
# (no default means required -- error if not set)
)
api_url = self.test_api_url
self.bulk_api_url = self.test_api_url
else:
self.test_inbox_id = None

Expand Down

0 comments on commit 7f253b4

Please sign in to comment.