#NEWLINE# def __init__( self , subject = '' , body = '' , from_email = None , to = None , bcc = None , connection = None , attachments = None , headers = None , cc = None ) : #NEWLINE# #INDENT# '\n        Initialize a single email message (which can be sent to multiple\n        recipients).\n\n        All strings used to create the message can be unicode strings\n        (or UTF-8 bytestrings). The SafeMIMEText class will handle any\n        necessary encoding conversions.\n        ' #NEWLINE# if to : #NEWLINE# #INDENT# assert ( not isinstance ( to , six . string_types ) ) , '"to" argument must be a list or tuple' #NEWLINE# self . to = list ( to ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . to = [ ] #NEWLINE# #UNINDENT# if cc : #NEWLINE# #INDENT# assert ( not isinstance ( cc , six . string_types ) ) , '"cc" argument must be a list or tuple' #NEWLINE# self . cc = list ( cc ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . cc = [ ] #NEWLINE# #UNINDENT# if bcc : #NEWLINE# #INDENT# assert ( not isinstance ( bcc , six . string_types ) ) , '"bcc" argument must be a list or tuple' #NEWLINE# self . bcc = list ( bcc ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . bcc = [ ] #NEWLINE# #UNINDENT# self . from_email = ( from_email or settings . DEFAULT_FROM_EMAIL ) #NEWLINE# self . subject = subject #NEWLINE# self . body = body #NEWLINE# self . attachments = ( attachments or [ ] ) #NEWLINE# self . extra_headers = ( headers or { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# self . connection = connection