parameters: (self, mailbox, flags, date_time, message)
return_statement: return self._simple_command(name, mailbox, flags, date_time)
docstring: Append message to named mailbox.
  
          (typ, [data]) = <instance>.append(mailbox, flags, date_time, message)
  
                  All args except `message' can be None.
docstring_summary: Append message to named mailbox.
docstring_tokens: Append message to named mailbox .
function: def append(self, mailbox, flags, date_time, message):
          """Append message to named mailbox.
  
          (typ, [data]) = <instance>.append(mailbox, flags, date_time, message)
  
                  All args except `message' can be None.
          """
          name = 'APPEND'
          if not mailbox:
              mailbox = 'INBOX'
          if flags:
              if (flags[0],flags[-1]) != ('(',')'):
                  flags = '(%s)' % flags
          else:
              flags = None
          if date_time:
              date_time = Time2Internaldate(date_time)
          else:
              date_time = None
          self.literal = MapCRLF.sub(CRLF, message)
          return self._simple_command(name, mailbox, flags, date_time)
function_tokens: def append ( self , mailbox , flags , date_time , message ) : name = 'APPEND' if not mailbox : mailbox = 'INBOX' if flags : if ( flags [ 0 ] , flags [ - 1 ] ) != ( '(' , ')' ) : flags = '(%s)' % flags else : flags = None if date_time : date_time = Time2Internaldate ( date_time ) else : date_time = None self . literal = MapCRLF . sub ( CRLF , message ) return self . _simple_command ( name , mailbox , flags , date_time )