Lines Matching refs:data
319 def collect_incoming_data(self, data):
328 self.num_bytes += len(data)
330 self.received_lines.append(str(data, 'utf-8'))
332 self.received_lines.append(data)
370 self.push('552 Error: Too much mail data')
375 data = []
378 data.append(text[1:])
380 data.append(text)
381 self.received_data = self._newline.join(data)
624 self.push('354 End data with <CR><LF>.<CR><LF>')
674 def process_message(self, peer, mailfrom, rcpttos, data, **kwargs):
686 data is a string containing the entire full text of the message,
710 def _print_message_content(self, peer, data):
712 lines = data.splitlines()
717 if not isinstance(data, str):
722 if not isinstance(data, str):
727 def process_message(self, peer, mailfrom, rcpttos, data, **kwargs):
734 self._print_message_content(peer, data)
744 def process_message(self, peer, mailfrom, rcpttos, data):
745 lines = data.split('\n')
753 data = NEWLINE.join(lines)
754 refused = self._deliver(mailfrom, rcpttos, data)
758 def _deliver(self, mailfrom, rcpttos, data):
765 refused = s.sendmail(mailfrom, rcpttos, data)