We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 83853be + 71cf177 commit 4753edcCopy full SHA for 4753edc
1 file changed
sendgrid/message.py
@@ -72,7 +72,8 @@ def add_to_name(self, to_name):
72
elif sys.version_info < (3, 0) and isinstance(to_name, unicode):
73
self.to_name.append(to_name.encode('utf-8'))
74
elif hasattr(to_name, '__iter__'):
75
- self.to_name = self.to_name + to_name
+ for tn in to_name:
76
+ self.add_to_name(tn)
77
78
def add_cc(self, cc):
79
if isinstance(cc, str):
0 commit comments