Skip to content

Commit 0a76d0a

Browse files
committed
Mailtrap: remove set_track_clicks and set_track_opens
1 parent f1c47eb commit 0a76d0a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

anymail/backends/mailtrap.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -165,14 +165,6 @@ def set_tags(self, tags: List[str]):
165165
if len(tags) > 0:
166166
self.data["category"] = tags[0]
167167

168-
def set_track_clicks(self, *args, **kwargs):
169-
"""Do nothing. Mailtrap supports this, but it is not configured in the send request."""
170-
pass
171-
172-
def set_track_opens(self, *args, **kwargs):
173-
"""Do nothing. Mailtrap supports this, but it is not configured in the send request."""
174-
pass
175-
176168
def set_metadata(self, metadata):
177169
self.data.setdefault("custom_variables", {}).update(
178170
{str(k): str(v) for k, v in metadata.items()}

0 commit comments

Comments
 (0)