#NEWLINE# def _sent_ok( self , result , to , cc , subject , nattachs ) : #NEWLINE# #INDENT# log . msg ( format = 'Mail sent OK: To=%(mailto)s Cc=%(mailcc)s Subject="%(mailsubject)s" Attachs=%(mailattachs)d' , mailto = to , mailcc = self , mailsubject = subject , mailattachs = nattachs )