diff --git a/django/core/mail.py b/django/core/mail.py index bf48dcb882..b60757366f 100644 --- a/django/core/mail.py +++ b/django/core/mail.py @@ -205,10 +205,12 @@ class EmailMessage(object): conversions. """ if to: + assert not isinstance(to, basestring), '"to" argument must be a list or tuple' self.to = list(to) else: self.to = [] if bcc: + assert not isinstance(bcc, basestring), '"bcc" argument must be a list or tuple' self.bcc = list(bcc) else: self.bcc = []