Skip to content

Commit 15180ab

Browse files
committed
Mailtrap backend: remove bulk_api_url
1 parent bc5aee7 commit 15180ab

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

anymail/backends/mailtrap.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -191,16 +191,6 @@ def __init__(self, **kwargs):
191191
test_api_url += "/"
192192
self.test_api_url = test_api_url
193193

194-
bulk_api_url = get_anymail_setting(
195-
"bulk_api_url",
196-
esp_name=self.esp_name,
197-
kwargs=kwargs,
198-
default="https://bulk.api.mailtrap.io/api/",
199-
)
200-
if not bulk_api_url.endswith("/"):
201-
bulk_api_url += "/"
202-
self.bulk_api_url = bulk_api_url
203-
204194
self.testing_enabled = get_anymail_setting(
205195
"testing",
206196
esp_name=self.esp_name,
@@ -216,7 +206,6 @@ def __init__(self, **kwargs):
216206
# (no default means required -- error if not set)
217207
)
218208
api_url = self.test_api_url
219-
self.bulk_api_url = self.test_api_url
220209
else:
221210
self.test_inbox_id = None
222211

0 commit comments

Comments
 (0)