We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 584e14b commit 7b2b7b2Copy full SHA for 7b2b7b2
sgbackend/mail.py
@@ -68,7 +68,7 @@ def _build_sg_mail(self, email):
68
69
# use smtpapi if recipient list provided, otherwise use standard to field
70
if isinstance(email.to, list):
71
- mail.smtpapi.add_tos(email.to)
+ mail.smtpapi.set_tos(email.to)
72
else:
73
mail.add_to(email.to)
74
0 commit comments