#NEWLINE# def send( self , subject , message , to_addresses , cc_addresses = None ) : #NEWLINE# #INDENT# assert ( not isinstance ( to_addresses , types . StringTypes ) ) #NEWLINE# assert ( not isinstance ( cc_addresses , types . StringTypes ) ) #NEWLINE# mail = Mail ( subject , message , to_addresses , cc_addresses ) #NEWLINE# for address in to_addresses : #NEWLINE# #INDENT# self . _mailboxes [ address ] . append ( mail ) #NEWLINE# #UNINDENT# if ( cc_addresses is not None ) : #NEWLINE# #INDENT# for address in cc_addresses : #NEWLINE# #INDENT# self . _mailboxes [ address ] . append ( mail ) #NEWLINE# #UNINDENT# #UNINDENT# self . _mails . append ( address )